MAINT: Drop Python 3.7/3.8 from CI matrix#240
Merged
Merged
Conversation
lifelib, installed from its GitHub main branch for the export tests, dropped Python 3.7/3.8 support in v0.13.0 (requires Python >= 3.9). On 3.7/3.8 pip can no longer resolve the requirements: it backtracks to ancient numpy/pandas sdists that fail to build with modern setuptools, so the Install dependencies step fails before tests run. Both versions have reached end of life. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes Python 3.7 and 3.8 (and their paired networkx versions 2.4/2.5) from the CI test matrix, along with the per-OS excludes that only applied to them.
Why
The 3.7/3.8 jobs now fail in the "Install dependencies" step, before any tests run.
requirements-travis.txtinstalls lifelib from its GitHub main branch, and lifelib v0.13.0 (June 28) dropped Python 3.7/3.8 support (python_requires >= 3.9). On those interpreters pip can no longer resolve the requirement set: it backtracks numpy down to 1.16.x sdists on 3.8 (ModuleNotFoundError: No module named 'distutils.msvccompiler') and an old pandas sdist on 3.7 (invalid metadata for modern setuptools).Both versions are past end of life (3.7 since June 2023, 3.8 since October 2024). This continues the cleanup started in 0f39301, which excluded Python 3.8 on macos-latest.
Notes for review
python_requires, trove classifiers in setup.py), that can be a follow-up.🤖 Generated with Claude Code