Skip to content

Commit 984c399

Browse files
authored
Merge pull request #13175 from sbidoul/release/25.0
Release/25.0
2 parents a008888 + f58b041 commit 984c399

35 files changed

+73
-42
lines changed

AUTHORS.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ burrows
125125
Bussonnier Matthias
126126
bwoodsend
127127
c22
128+
Caleb Brown
128129
Caleb Martinez
129130
Calvin Smith
130131
Carl Meyer
@@ -134,6 +135,7 @@ Carter Thayer
134135
Cass
135136
Chandrasekhar Atina
136137
Charlie Marsh
138+
charwick
137139
Chih-Hsuan Yen
138140
Chris Brinker
139141
Chris Hunt
@@ -403,18 +405,22 @@ Josh Cannon
403405
Josh Hansen
404406
Josh Schneier
405407
Joshua
408+
JoshuaPerdue
406409
Juan Luis Cano Rodríguez
407410
Juanjo Bazán
408411
Judah Rand
409412
Julian Berman
410413
Julian Gethmann
411414
Julien Demoor
415+
July Tikhonov
412416
Jussi Kukkonen
417+
Justin van Heek
413418
jwg4
414419
Jyrki Pulliainen
415420
Kai Chen
416421
Kai Mueller
417422
Kamal Bin Mustafa
423+
Karolina Surma
418424
kasium
419425
kaustav haldar
420426
keanemind
@@ -625,6 +631,7 @@ R. David Murray
625631
Rafael Caricio
626632
Ralf Schmitt
627633
Ran Benita
634+
Randy Döring
628635
Razzi Abuissa
629636
rdb
630637
Reece Dunham

NEWS.rst

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,71 @@
99
1010
.. towncrier release notes start
1111
12+
25.0 (2025-01-26)
13+
=================
14+
15+
Deprecations and Removals
16+
-------------------------
17+
18+
- Deprecate the ``no-python-version-warning`` flag as it has long done nothing
19+
since Python 2 support was removed in pip 21.0. (`#13154 <https://github.com/pypa/pip/issues/13154>`_)
20+
21+
Features
22+
--------
23+
24+
- Prefer to display :pep:`639` ``License-Expression`` in ``pip show`` if metadata version is at least 2.4. (`#13112 <https://github.com/pypa/pip/issues/13112>`_)
25+
- Support :pep:`639` ``License-Expression`` and ``License-File`` metadata fields in JSON
26+
output. ``pip inspect`` and ``pip install --report`` now emit
27+
``license_expression`` and ``license_file`` fields in the ``metadata`` object,
28+
if the corresponding fields are present in the installed ``METADATA`` file. (`#13134 <https://github.com/pypa/pip/issues/13134>`_)
29+
- Files in the network cache will inherit the read/write permissions of pip's cache
30+
directory (in addition to the current user retaining read/write access). This
31+
enables a single cache to be shared among multiple users. (`#11012 <https://github.com/pypa/pip/issues/11012>`_)
32+
- Return the size, along with the number, of files cleared on ``pip cache purge`` and ``pip cache remove`` (`#12176 <https://github.com/pypa/pip/issues/12176>`_)
33+
- Cache ``python-requires`` checks while filtering potential installation candidates. (`#13128 <https://github.com/pypa/pip/issues/13128>`_)
34+
- Optimize package collection by avoiding unnecessary URL parsing and other processing. (`#13132 <https://github.com/pypa/pip/issues/13132>`_)
35+
36+
Bug Fixes
37+
---------
38+
39+
- Reorder the encoding detection when decoding a requirements file, relying on
40+
UTF-8 over the locale encoding by default, matching the documented behaviour.
41+
(`#12771 <https://github.com/pypa/pip/issues/12771>`_)
42+
- The pip version self check is disabled on ``EXTERNALLY-MANAGED`` environments. (`#11820 <https://github.com/pypa/pip/issues/11820>`_)
43+
- Fix a security bug allowing a specially crafted wheel to execute code during
44+
installation. (`#13079 <https://github.com/pypa/pip/issues/13079>`_)
45+
- The inclusion of ``packaging`` 24.2 changes how pre-release specifiers with ``<`` and ``>``
46+
behave. Including a pre-release version with these specifiers now implies
47+
accepting pre-releases (e.g., ``<2.0dev`` can include ``1.0rc1``). To avoid
48+
implying pre-releases, avoid specifying them (e.g., use ``<2.0``).
49+
The exception is ``!=``, which never implies pre-releases. (`#13163 <https://github.com/pypa/pip/issues/13163>`_)
50+
- The ``--cert`` and ``--client-cert`` command-line options are now respected while
51+
installing build dependencies. Consequently, the private ``_PIP_STANDALONE_CERT``
52+
environment variable is no longer used. (`#5502 <https://github.com/pypa/pip/issues/5502>`_)
53+
- The ``--proxy`` command-line option is now respected while installing build dependencies. (`#6018 <https://github.com/pypa/pip/issues/6018>`_)
54+
55+
Vendored Libraries
56+
------------------
57+
58+
- Upgrade CacheControl to 0.14.1
59+
- Upgrade idna to 3.10
60+
- Upgrade msgpack to 1.1.0
61+
- Upgrade packaging to 24.2
62+
- Upgrade platformdirs to 4.3.6
63+
- Upgrade pyproject-hooks to 1.2.0
64+
- Upgrade rich to 13.9.4
65+
- Upgrade tomli to 2.2.1
66+
67+
Improved Documentation
68+
----------------------
69+
70+
- Removed section about non-existing ``--force-keyring`` flag. (`#12455 <https://github.com/pypa/pip/issues/12455>`_)
71+
72+
Process
73+
-------
74+
75+
- Started releasing to PyPI from a GitHub Actions CI/CD workflow that implements trusted publishing and bundles :pep:`740` digital attestations.
76+
1277
24.3.1 (2024-10-27)
1378
===================
1479

news/11012.feature.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

news/11820.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/12176.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/12455.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/12551.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/12771.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

news/13031.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/13048.process.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)