Skip to content

Commit dea6b62

Browse files
committed
Revert Python version requirement to 3.8+
Zensical is a dev-only dependency for building documentation and should not constrain the runtime Python version. The library itself supports Python 3.8+. Changes: - Revert requires-python from >=3.10 to >=3.8 - Add Python version marker to zensical dependency (>= 3.10) - Restore Python 3.8 and 3.9 classifiers - Update documentation to reflect Python 3.8+ support ReadTheDocs build continues to use Python 3.10 (specified in .readthedocs.yml), which satisfies Zensical's requirement for documentation builds.
1 parent 679133e commit dea6b62

File tree

3 files changed

+2245
-151
lines changed

3 files changed

+2245
-151
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ the features I was missing.
3131

3232
Required dependencies:
3333

34-
* Python 3.10 or later
34+
* Python 3.8 or later
3535
* xarray 2024 or later
3636

3737
Install from PyPI in your virtual environment:

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ description = "A lightweight xarray validation library"
55
authors = [{ name = "Vincent Leroy", email = "vincent.leroy@rayference.eu" }]
66
dependencies = ["attrs", "numpy", "xarray"]
77
readme = "README.md"
8-
requires-python = ">= 3.10"
8+
requires-python = ">= 3.8"
99
classifiers = [
1010
"Development Status :: 4 - Beta",
1111
"License :: OSI Approved :: MIT License",
12+
"Programming Language :: Python :: 3.8",
13+
"Programming Language :: Python :: 3.9",
1214
"Programming Language :: Python :: 3.10",
1315
"Programming Language :: Python :: 3.11",
1416
"Programming Language :: Python :: 3.12",
@@ -32,7 +34,7 @@ units = ["pint"]
3234
[dependency-groups]
3335
lint = ["ruff>=0.14.0"]
3436
docs = [
35-
"zensical>=0.0.21",
37+
"zensical>=0.0.21; python_version >= '3.10'",
3638
"mkdocstrings-python>=1.0",
3739
]
3840
test = ["pytest-cov", "pytest", "xdoctest"]

0 commit comments

Comments
 (0)