On behalf of the PyPA, I am pleased to announce that the pip team has just released pip 26.1.
Highlights
The main new feature is experimental support for pylock.toml files as a requirements source. pylock.toml files or URLs can be provided with the -r / --requirements options to the commands supporting it.
As conveyed by the experimental warning, keep in mind this feature may evolve significantly or even be removed in favor of another option or command in future pip releases. Please share your feedback in this issue.
Other notable improvements include
- Allow
--uploaded-prior-toto accept a duration in days (e.g.,P3Dfor 3 days ago). - Allow unpinned requirements to use hashes from constraints and allow URL constraints to apply to requirements with extras, removing some of the last roadblocks towards the removal of the legacy resolver.
- Several performance and memory usage improvements.
And of course several bug fixes and security improvements.
Please consult our changelog for more information.
Thanks
As with all pip releases, a significant amount of the work was contributed by
pip’s user community. Many thanks to all who have contributed, whether through
code, documentation, issue reports and/or discussion. Your help keeps pip
improving, and is hugely appreciated.
Cheers,
Stéphane