- update to 25.2
# 25.1
* Drop support for Python 3.8.
* On python 3.14+, the pkg_resources metadata backend cannot be used
anymore.
* Hide --no-python-version-warning from CLI help and documentation
as it's useless since Python 2 support was removed.
* A warning is emitted when the deprecated pkg_resources library is
used to inspect and discover installed packages.
* Deprecate the legacy setup.py bdist_wheel mechanism. To silence
the warning, and future-proof their setup, users should enable
--use-pep517 or add a pyproject.toml file to the projects they
control.
* Using --debug also enables verbose logging.
* Display a transient progress bar during package installation.
* Add a --group option which allows installation from PEP 735
Dependency Groups.
* Use PEP 753 "Well-known Project URLs in Metadata" normalization
rules when identifying an equivalent project URL to replace
a missing Home-Page field in pip show.
* Add a new, experimental, pip lock command, implementing PEP 751.
* Resolvelib 1.1.0 fixes a known issue where pip would report a
ResolutionImpossible error even though there is a valid solution.
However, some very complex dependency resolutions that previously
resolved may resolve slower or fail with an ResolutionTooDeep error.
# 25.2
* Declare support for Python 3.14
* Automatic download resumption and retrying is enabled by default.
* Requires-Python error message displays version clauses in numerical
order.
OBS-URL: https://build.opensuse.org/request/show/1299243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=142
- update to 25.0.1
* Fix an unsupported type annotation on Python 3.10 and earlier.
(#13181)
* Fix a regression where truststore would never be used while
installing build dependencies. (#13186)
* Deprecate the no-python-version-warning flag as it has long done
nothing since Python 2 support was removed in pip 21.0. (#13154)
* Prefer to display PEP 639 License-Expression in pip show if
metadata version is at least 2.4. (#13112)
* Support PEP 639 License-Expression and License-File metadata
fields in JSON output. pip inspect and pip install --report now
emit license_expression and license_file fields in the metadata
object, if the corresponding fields are present in the installed
METADATA file. (#13134)
* Files in the network cache will inherit the read/write permissions
of pip’s cache directory (in addition to the current user retaining
read/write access). This enables a single cache to be shared among
multiple users. (#11012)
* Return the size, along with the number, of files cleared on pip
cache purge and pip cache remove (#12176)
* Cache python-requires checks while filtering potential installation
candidates. (#13128)
* Optimize package collection by avoiding unnecessary URL parsing and
other processing. (#13132)
* Reorder the encoding detection when decoding a requirements file,
relying on UTF-8 over the locale encoding by default, matching the
documented behaviour. (#12771)
* The pip version self check is disabled on EXTERNALLY-MANAGED
environments. (#11820)
* Fix a security bug allowing a specially crafted wheel to execute
OBS-URL: https://build.opensuse.org/request/show/1270557
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=140
- update to 24.3.1:
* Allow multiple nested inclusions of the same requirements
file again.
* Deprecate wheel filenames that are not compliant with PEP
440.
* Detect recursively referencing requirements files and help
users identify the source.
* Support for PEP 730 iOS wheels.
* Display a better error message when an already installed
package has an invalid requirement.
* Ignore PIP_TARGET and pip.conf global.target when preparing a
build environment.
* Restore support for macOS 10.12 and older (via truststore).
* Allow installing pip in editable mode in a virtual
environment on Windows.
* Upgrade certifi to 2024.8.30
* Upgrade distlib to 0.3.9
* Upgrade truststore to 0.10.0
* Upgrade urllib3 to 1.26.20
OBS-URL: https://build.opensuse.org/request/show/1219342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=69
* Allow multiple nested inclusions of the same requirements
file again.
* Deprecate wheel filenames that are not compliant with PEP
440.
* Detect recursively referencing requirements files and help
users identify the source.
* Support for PEP 730 iOS wheels.
* Display a better error message when an already installed
package has an invalid requirement.
* Ignore PIP_TARGET and pip.conf global.target when preparing a
build environment.
* Restore support for macOS 10.12 and older (via truststore).
* Allow installing pip in editable mode in a virtual
environment on Windows.
* Upgrade certifi to 2024.8.30
* Upgrade distlib to 0.3.9
* Upgrade truststore to 0.10.0
* Upgrade urllib3 to 1.26.20
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=137
- update to 24.2:
* Deprecate pip install --editable falling back to setup.py
develop when using a setuptools version that does not support
PEP 660 (setuptools v63 and older).
* Check unsupported packages for the current platform. (#11054)
* Check unsupported packages for the current platform.
* Use system certificates and certifi certificates to verify
HTTPS connections on Python 3.10+. Python 3.9 and earlier
only use certifi. To revert to previous behaviour, pass the
flag --use-deprecated=legacy-certs. (#11647)
* Use system certificates and certifi certificates to verify
HTTPS connections on Python 3.10+. Python 3.9 and earlier
only use certifi.
* To revert to previous behaviour, pass the flag --use-
deprecated=legacy-certs.
* Improve discovery performance of installed packages when the
importlib.metadata backend is used to load distribution
metadata (used by default under Python 3.11+). (#12656)
* Improve discovery performance of installed packages when the
importlib.metadata backend is used to load distribution
metadata (used by default under Python 3.11+).
* Improve performance when the same requirement string appears
many times during resolution, by consistently caching the
parsed requirement string. (#12663)
* Improve performance when the same requirement string appears
many times during resolution, by consistently caching the
parsed requirement string.
* Minor performance improvement of finding applicable package
candidates by not repeatedly calculating their versions
(#12664)
OBS-URL: https://build.opensuse.org/request/show/1193638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=67
* Deprecate pip install --editable falling back to setup.py
develop when using a setuptools version that does not support
PEP 660 (setuptools v63 and older).
* Check unsupported packages for the current platform. (#11054)
* Check unsupported packages for the current platform.
* Use system certificates and certifi certificates to verify
HTTPS connections on Python 3.10+. Python 3.9 and earlier
only use certifi. To revert to previous behaviour, pass the
flag --use-deprecated=legacy-certs. (#11647)
* Use system certificates and certifi certificates to verify
HTTPS connections on Python 3.10+. Python 3.9 and earlier
only use certifi.
* To revert to previous behaviour, pass the flag --use-
deprecated=legacy-certs.
* Improve discovery performance of installed packages when the
importlib.metadata backend is used to load distribution
metadata (used by default under Python 3.11+). (#12656)
* Improve discovery performance of installed packages when the
importlib.metadata backend is used to load distribution
metadata (used by default under Python 3.11+).
* Improve performance when the same requirement string appears
many times during resolution, by consistently caching the
parsed requirement string. (#12663)
* Improve performance when the same requirement string appears
many times during resolution, by consistently caching the
parsed requirement string.
* Minor performance improvement of finding applicable package
candidates by not repeatedly calculating their versions
(#12664)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=124
* Actually use system trust stores when the truststore feature
is enabled.
* Report informative messages about invalid requirements.
* Eagerly import the self version check logic to avoid crashes
while upgrading or downgrading pip at the same time.
* Accommodate for mismatches between different sources of truth
for extra names, for packages generated by setuptools.
* Accommodate for development versions of CPython ending in +
in the version string.
* requests provides optional character detection support on
some APIs when processing ambiguous bytes. This isn't
relevant for pip to function and we're able to remove it due
to recent upstream changes.
* Drop support for EOL Python 3.7.
* Remove support for legacy versions and dependency specifiers.
* Packages with non standard-compliant versions or dependency
specifiers are now ignored by the resolver. Already installed
packages with non standard-compliant versions or dependency
specifiers must be uninstalled before upgrading them.
* Improve performance of resolution of large dependency trees,
with more caching.
* Further improve resolution performance of large dependency
trees, by caching hash calculations.
* Reduce startup time of commands (e.g. show, freeze) that do
not access the network by 15-30%.
* Reword and improve presentation of uninstallation errors.
* Add a 'raw' progress_bar type for simple and parsable
download progress reports
* pip list no longer performs the pip version check unless
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=122