Skip to content

Commit 330d5b3

Browse files
committed
chore(deps): bump pytest, black, mypy, hypothesis with Py39 compat
Update dev dependencies to their latest versions while maintaining Python 3.9 support via environment markers: - pytest: 8.4.* -> 9.1.* (Py39 stays on 8.4.*) - black: 25.* -> 26.* (Py39 stays on 25.*) - mypy: 1.19.* -> 2.2.* (Py39 stays on 1.19.*) - hypothesis: ~=6.0 -> ~=6.156 (Py39 gets ~=6.141) All four packages dropped Python 3.9 support in their latest major releases. This uses the same conditional pattern as openjd-cli. Supersedes #300, #301, #302, #303. Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com>
1 parent 6062517 commit 330d5b3

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

requirements-testing.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
coverage[toml] == 7.*
2-
pytest == 8.4.*
2+
pytest == 9.1.*; python_version >= "3.10"
3+
pytest == 8.4.*; python_version < "3.10"
34
pytest-cov == 7.1.*
45
pytest-timeout == 2.4.*
56
pytest-xdist == 3.8.*
67
types-PyYAML ~= 6.0
7-
black == 25.*
8+
black == 26.*; python_version >= "3.10"
9+
black == 25.*; python_version < "3.10"
810
ruff == 0.15.*
9-
mypy == 1.19.*
11+
mypy == 2.2.*; python_version >= "3.10"
12+
mypy == 1.19.*; python_version < "3.10"
1013
# pydantic: required by the legacy model_v0 (Pydantic) test suite,
1114
# which lives alongside the new Rust-backed model_v1 implementation.
1215
pydantic >= 2.10, < 3
1316
# hypothesis: used by the opt-in fuzz test suites in test/openjd/expr
1417
# and test/openjd/model-v*. conftest.py imports it unconditionally.
15-
hypothesis ~= 6.0
18+
hypothesis ~= 6.156; python_version >= "3.10"
19+
hypothesis ~= 6.141; python_version < "3.10"

0 commit comments

Comments
 (0)