Skip to content

Drop 3.7 support, add 3.12 support.#262

Merged
jaysonsantos merged 4 commits into
jaysonsantos:masterfrom
alexmv:ci-drop-py37
Apr 25, 2026
Merged

Drop 3.7 support, add 3.12 support.#262
jaysonsantos merged 4 commits into
jaysonsantos:masterfrom
alexmv:ci-drop-py37

Conversation

@alexmv
Copy link
Copy Markdown
Contributor

@alexmv alexmv commented Apr 24, 2026

No description provided.

alexmv added 4 commits April 24, 2026 14:11
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.
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.
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.
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.
@jaysonsantos
Copy link
Copy Markdown
Owner

Thank you for your contribution!

@jaysonsantos jaysonsantos merged commit b40f7fd into jaysonsantos:master Apr 25, 2026
6 checks passed
@alexmv alexmv deleted the ci-drop-py37 branch April 27, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants