|
9 | 9 |
|
10 | 10 | .. towncrier release notes start |
11 | 11 |
|
| 12 | +26.0 (2026-01-30) |
| 13 | +================= |
| 14 | + |
| 15 | +Deprecations and Removals |
| 16 | +------------------------- |
| 17 | + |
| 18 | +- Remove support for non-bare project names in egg fragments. Affected users should use |
| 19 | + the `Direct URL requirement syntax <https://packaging.python.org/en/latest/specifications/version-specifiers/#direct-references>`_. (`#13157 <https://github.com/pypa/pip/issues/13157>`_) |
| 20 | + |
| 21 | +Features |
| 22 | +-------- |
| 23 | + |
| 24 | +- Display pip's command-line help in colour, if possible. (`#12134 <https://github.com/pypa/pip/issues/12134>`_) |
| 25 | +- Support installing dependencies declared with inline script metadata |
| 26 | + (:pep:`723`) with ``--requirements-from-script``. (`#12891 <https://github.com/pypa/pip/issues/12891>`_) |
| 27 | +- Add ``--all-releases`` and ``--only-final`` options to control pre-release |
| 28 | + and final release selection during package installation. (`#13221 <https://github.com/pypa/pip/issues/13221>`_) |
| 29 | +- Add ``--uploaded-prior-to`` option to only consider packages uploaded prior to |
| 30 | + a given datetime when the ``upload-time`` field is available from a remote index. (`#13625 <https://github.com/pypa/pip/issues/13625>`_) |
| 31 | +- Add ``--use-feature inprocess-build-deps`` to request that build dependencies are installed |
| 32 | + within the same pip install process. This new mechanism is faster, supports ``--no-clean`` |
| 33 | + and ``--no-cache-dir`` reliably, and supports prompting for authentication. |
| 34 | + |
| 35 | + Enabling this feature will also enable ``--use-feature build-constraints``. This feature will |
| 36 | + become the default in a future pip version. (`#9081 <https://github.com/pypa/pip/issues/9081>`_) |
| 37 | +- ``pip cache purge`` and ``pip cache remove`` now clean up empty directories |
| 38 | + and legacy files left by older pip versions. (`#9058 <https://github.com/pypa/pip/issues/9058>`_) |
| 39 | + |
| 40 | +Bug Fixes |
| 41 | +--------- |
| 42 | + |
| 43 | +- Fix selecting pre-release versions when only pre-releases match. |
| 44 | + For example, ``package>1.0`` with versions ``1.0, 2.0rc1`` now installs |
| 45 | + ``2.0rc1`` instead of failing. (`#13746 <https://github.com/pypa/pip/issues/13746>`_) |
| 46 | +- Revisions in version control URLs now must be percent-encoded. |
| 47 | + For example, use ``git+https://example.com/repo.git@issue%231`` to specify the branch ``issue#1``. |
| 48 | + If you previously used a branch name containing a ``%`` character in a version control URL, you now need to replace it with ``%25`` to ensure correct percent-encoding. (`#13407 <https://github.com/pypa/pip/issues/13407>`_) |
| 49 | +- Preserve original casing when a path is displayed. (`#6823 <https://github.com/pypa/pip/issues/6823>`_) |
| 50 | +- Fix bash completion when the ``$IFS`` variable has been modified from its default. (`#13555 <https://github.com/pypa/pip/issues/13555>`_) |
| 51 | +- Precompute Python requirements on each candidate, reducing time of long resolutions. (`#13656 <https://github.com/pypa/pip/issues/13656>`_) |
| 52 | +- Skip redundant work converting version objects to strings when using the |
| 53 | + ``importlib.metadata`` backend. (`#13660 <https://github.com/pypa/pip/issues/13660>`_) |
| 54 | +- Fix ``pip index versions`` to honor only-binary/no-binary options. (`#13682 <https://github.com/pypa/pip/issues/13682>`_) |
| 55 | +- Fix fallthrough logic for options, allowing overriding global options with |
| 56 | + defaults from user config. (`#13703 <https://github.com/pypa/pip/issues/13703>`_) |
| 57 | + |
| 58 | +Vendored Libraries |
| 59 | +------------------ |
| 60 | + |
| 61 | +- Upgrade CacheControl to 0.14.4 |
| 62 | +- Upgrade certifi to 2026.1.4 |
| 63 | +- Upgrade idna to 3.11 |
| 64 | +- Upgrade packaging to 26.0 |
| 65 | +- Upgrade platformdirs to 4.5.1 |
| 66 | + |
12 | 67 | 25.3 (2025-10-24) |
13 | 68 | ================= |
14 | 69 |
|
|
0 commit comments