Skip to content

Commit a0b23df

Browse files
committed
Fixed pytest minimum version
Signed-off-by: Thomas Calmant <thomas.calmant@gmail.com>
1 parent 52fa97c commit a0b23df

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,14 @@ Issues = "http://github.com/tcalmant/python-javaobj/issues"
5555
Source = "http://github.com/tcalmant/python-javaobj/"
5656

5757
[dependency-groups]
58-
# The python_version marker keeps this resolvable on 2.7: pytest 9.x does not
59-
# support it, so uv sync/uv lock would otherwise fail to find a solution
60-
# across the whole requires-python range (2.7 itself is still exercised, just
61-
# through run_tests_containers.sh, which installs whatever old pytest release
62-
# PyPI still serves that interpreter).
58+
# The python_version marker keeps this resolvable on older interpreters:
59+
# pytest>=9.0.3 requires Python>=3.10, so uv sync/uv lock would otherwise fail
60+
# to find a solution across the whole requires-python range (older
61+
# interpreters, including 2.7, are still exercised, just through
62+
# run_tests_containers.sh, which installs whatever old pytest release PyPI
63+
# still serves for that interpreter).
6364
dev = [
64-
"pytest>=9.0.3; python_version >= '3.9'",
65+
"pytest>=9.0.3; python_version >= '3.10'",
6566
]
6667

6768
[tool.setuptools]

0 commit comments

Comments
 (0)