On behalf of the PyPA, I am pleased to announce that the pip team has just released pip 22.3!
The PyPA recommended tool for installing Python packages.
- A new
--pythonoption which allows pip to be run against an environment other than the one it is installed in.
- Support for PEP 658, reading project metadata from the simple index, rather than downloading the distribution. Note: PyPI does not yet publish PEP 658 metadata, so this change will only benefit private indexes with PEP 658 support for now.
- Direct invocation of
setup.pyas part of package installs is deprecated. This moves us closer to the goal of handling all installs via wheels.
New features have been added, about which we are seeking user feedback before declaring them stable:
- A new “zipapp” distribution of pip, which can be used to run pip against a Python environment without needing to install pip into that environment.
This release contains many other usability improvements, enhancements, and bugfixes. You can find the full list in our changelog.
As with all pip releases, a significant amount of the work was contributed by pip’s user community. Huge thanks to all who have contributed, whether through code, documentation, issue reports and/or discussion. Your help keeps pip improving, and is hugely appreciated.