Upgrading pip 23 to 24
Breaking23.3.2 → 24.3.1Breaking1Platform1Deprecated2New7Changed57Fixed27Other15
BreakingUpgrade verdict
1 breaking change and a platform requirement change.
In plain terms
- pip now ignores packages whose version numbers or dependency requirements do not follow the standard format.
- pip no longer runs on Python 3.7, which is no longer maintained.
- Wheel files whose names do not follow the standard version naming rules are now deprecated.
- Installing a project in editable mode will no longer use the old setup.py develop method with older setuptools versions.
Must act 4 items need code or config changes
Python requirement changed in 24.1b1: >=3.7 → >=3.8.
What you must change
Breaking1
Removes support for legacy versions and dependency specifiers; non-compliant packages are ignored by the resolver.
Platform1
Drops support for end-of-life Python 3.7.
Deprecations to plan for
Deprecated2
Deprecates wheel filenames that are not compliant with PEP 440.
Deprecates pip install --editable falling back to setup.py develop with setuptools v63 and older that lack PEP 660 support.
pip install --editablesetup.py develop