Commit b40f7fd
authored
Drop 3.7 support, add 3.12 support. (#262)
* chore: Use `pip install -e .` instead of `python setup.py develop`
Python 3.12 no longer ships setuptools (or distutils) by default, so
`python setup.py develop` will fail with ModuleNotFoundError before
any tests run -- and `setup.py develop` has been deprecated since
setuptools 58 (2021) anyway.
Switch to `pip install -e .`, the supported replacement, which pulls
in setuptools as a build dependency automatically, so it works on
every Python version in the matrix.
* ci: drop Python 3.7, add 3.12 to the test matrix
ubuntu-latest is now Ubuntu 24.04, which actions/setup-python no longer
ships a prebuilt Python 3.7 interpreter for. 3.7 has been EOL since
June 2023. Add 3.12 in its place to keep coverage current.
* chore: Update setup.py classifiers to match the tested Python versions
Drop the 2.7/3.4/3.5/3.6/3.7 classifiers -- they are all EOL and now
untested. Add 3.10/3.11/3.12 so the classifiers reflect the versions
actually exercised in CI.
* chore: Align tox envlist with the CI Python matrix
Drop py27/py34/py35/py36/py37 (which are all EOL, and no longer tested
in CI) and add py311/py312, so `tox` locally runs the same set of
versions as CI.1 parent 6cdc678 commit b40f7fd
5 files changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
0 commit comments