Commit 4a50970
committed
Upgrade minimum Python version to 3.10
BREAKING CHANGE: Python 3.8 and 3.9 are no longer supported.
Changes:
- pyproject.toml: requires-python ">=3.8" -> ">=3.10"
- Added Python 3.10, 3.11, 3.12 classifiers
- Updated tool configurations:
- ruff: target-version "py37" -> "py310"
- mypy: python_version "3.7" -> "3.10"
- pylint: py-version "3.7" -> "3.10"
- CI: Updated pytest.yml to test on Python 3.10, 3.11, 3.12
Rationale:
- Python 3.8 reached EOL in October 2024
- Python 3.9 reaches EOL in October 2025
- Python 3.10+ enables modern syntax (PEP 604 union types)
- Used in new modernization features (exceptions.py uses | syntax)
- Aligns with project modernization goals
- HPC/cluster environments typically run modern Python versions
All 25 tests passing on Python 3.11.1 parent 62f9f92 commit 4a50970
2 files changed
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
99 | | - | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
0 commit comments