Skip to content

Commit 0bfe3b8

Browse files
authored
Merge branch 'main' into feature/gh12891-inline-metadata
2 parents 382f9b2 + a975006 commit 0bfe3b8

File tree

150 files changed

+2425
-2631
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+2425
-2631
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,12 @@ jobs:
201201
python-version: ${{ matrix.python }}
202202
allow-prereleases: true
203203

204+
- name: Install SVN via Chocolatey
205+
shell: pwsh
206+
run: |
207+
choco install svn -y --no-progress
208+
echo "C:\Program Files (x86)\Subversion\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
209+
204210
- run: pip install nox
205211

206212
# Main check

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Build a binary wheel and a source tarball
1818
run: ./build-project/build-project.py
1919
- name: Store the distribution packages
20-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
20+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
2121
with:
2222
name: python-package-distributions
2323
path: dist/
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Download all the dists
39-
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
39+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6
4040
with:
4141
name: python-package-distributions
4242
path: dist/

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ Stephan Erb <[email protected]> <[email protected]
5050
5151
5252
Zhiping Deng <[email protected]>
53+
dkjsone <[email protected]> user <empty>
54+
Meet Vasita <[email protected]> meet-vasita <[email protected]>
55+
Meet Vasita <[email protected]> Meet_Vasita <[email protected]>

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ repos:
1717
exclude: .patch
1818

1919
- repo: https://github.com/psf/black-pre-commit-mirror
20-
rev: 25.1.0
20+
rev: 25.9.0
2121
hooks:
2222
- id: black
2323

2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.12.11
25+
rev: v0.14.3
2626
hooks:
2727
- id: ruff-check
2828
args: [--fix]
2929

3030
- repo: https://github.com/pre-commit/mirrors-mypy
31-
rev: v1.17.1
31+
rev: v1.18.2
3232
hooks:
3333
- id: mypy
3434
exclude: tests/data

.readthedocs-custom-redirects.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@
1313
https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd#enable-long-paths-in-windows-10-version-1607-and-later
1414
/warnings/venv: >-
1515
https://docs.python.org/3/tutorial/venv.html
16+
/reference/build-system/pyproject-toml: >-
17+
https://pip.pypa.io/en/stable/reference/build-system/
18+
/reference/build-system/setup-py: >-
19+
https://pip.pypa.io/en/stable/reference/build-system/

AUTHORS.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ albertg
2424
Alberto Sottile
2525
Aleks Bunin
2626
Ales Erjavec
27+
Alessandro Molina
2728
Alethea Flowers
2829
Alex Gaynor
2930
Alex Grönholm
@@ -37,6 +38,7 @@ Alexandre Conrad
3738
Alexey Popravka
3839
Aleš Erjavec
3940
Alli
41+
Aman
4042
Ami Fischman
4143
Ananya Maiti
4244
Anatoly Techtonik
@@ -56,6 +58,7 @@ Aniruddha Basak
5658
Anish Tambe
5759
Anrs Hu
5860
Anthony Sottile
61+
Antoine Lambert
5962
Antoine Musso
6063
Anton Ovchinnikov
6164
Anton Patrushev
@@ -236,6 +239,7 @@ Dimitri Merejkowsky
236239
Dimitri Papadopoulos
237240
Dimitri Papadopoulos Orfanos
238241
Dirk Stolle
242+
dkjsone
239243
Dmitry Gladkov
240244
Dmitry Volodin
241245
Domen Kožar
@@ -347,6 +351,7 @@ Igor Sobreira
347351
Ikko Ashimine
348352
Ilan Schnell
349353
Illia Volochii
354+
Ilya Abdolmanafi
350355
Ilya Baryshev
351356
Inada Naoki
352357
Ionel Cristian Mărieș
@@ -482,6 +487,7 @@ luojiebin
482487
luz.paz
483488
László Kiss Kollár
484489
M00nL1ght
490+
MajorTanya
485491
Malcolm Smith
486492
Marc Abramowitz
487493
Marc Tamlyn
@@ -498,6 +504,7 @@ Martin Pavlasek
498504
Masaki
499505
Masklinn
500506
Matej Stuchlik
507+
Mateusz Sokół
501508
Mathew Jennings
502509
Mathieu Bridon
503510
Mathieu Kniewallner
@@ -525,6 +532,7 @@ mayeut
525532
mbaluna
526533
Md Sujauddin Sekh
527534
mdebi
535+
Meet Vasita
528536
memoselyk
529537
meowmeowcat
530538
Michael
@@ -714,6 +722,7 @@ Shivansh-007
714722
Shixian Sheng
715723
Shlomi Fish
716724
Shovan Maity
725+
Shubham Nagure
717726
Simeon Visser
718727
Simon Cross
719728
Simon Pichugin

NEWS.rst

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,70 @@
99
1010
.. towncrier release notes start
1111
12+
25.3 (2025-10-24)
13+
=================
14+
15+
Deprecations and Removals
16+
-------------------------
17+
18+
- Remove support for the legacy ``setup.py develop`` editable method in setuptools
19+
editable installs; setuptools >= 64 is now required. (`#11457 <https://github.com/pypa/pip/issues/11457>`_)
20+
- Remove the deprecated ``--global-option`` and ``--build-option``.
21+
``--config-setting`` is now the only way to pass options to the build backend. (`#11859 <https://github.com/pypa/pip/issues/11859>`_)
22+
- Deprecate the ``PIP_CONSTRAINT`` environment variable for specifying build
23+
constraints.
24+
25+
Use the ``--build-constraint`` option or the ``PIP_BUILD_CONSTRAINT`` environment variable
26+
instead. When build constraints are used, ``PIP_CONSTRAINT`` no longer affects isolated build
27+
environments. To enable this behavior without specifying any build constraints, use
28+
``--use-feature=build-constraint``. (`#13534 <https://github.com/pypa/pip/issues/13534>`_)
29+
- Remove support for non-standard legacy wheel filenames. (`#13581 <https://github.com/pypa/pip/issues/13581>`_)
30+
- Remove support for the deprecated ``setup.py bdist_wheel`` mechanism. Consequently,
31+
``--use-pep517`` is now always on, and ``--no-use-pep517`` has been removed. (`#6334 <https://github.com/pypa/pip/issues/6334>`_)
32+
33+
Features
34+
--------
35+
36+
- When :pep:`658` metadata is available, full distribution files are no longer downloaded when using ``pip lock`` or ``pip install --dry-run``. (`#12603 <https://github.com/pypa/pip/issues/12603>`_)
37+
- Add support for installing an editable requirement written as a Direct URL (``PackageName @ URL``). (`#13495 <https://github.com/pypa/pip/issues/13495>`_)
38+
- Add support for build constraints via the ``--build-constraint`` option. This
39+
allows constraining the versions of packages used during the build process
40+
(e.g., setuptools) without affecting the final installation. (`#13534 <https://github.com/pypa/pip/issues/13534>`_)
41+
- On ``ResolutionImpossible`` errors, include a note about causes with no candidates. (`#13588 <https://github.com/pypa/pip/issues/13588>`_)
42+
- Building pip itself from source now uses flit-core instead of setuptools.
43+
This does not affect how pip installs or builds packages you use. (`#13473 <https://github.com/pypa/pip/issues/13473>`_)
44+
45+
Bug Fixes
46+
---------
47+
48+
- Handle malformed ``Version`` metadata entries and
49+
show a sensible error message instead of crashing. (`#13443 <https://github.com/pypa/pip/issues/13443>`_)
50+
- Permit spaces between a filepath and extras in an install requirement. (`#13523 <https://github.com/pypa/pip/issues/13523>`_)
51+
- Ensure the self-check files in the cache have the same permissions as the rest of the cache. (`#13528 <https://github.com/pypa/pip/issues/13528>`_)
52+
- Avoid concurrency issues and improve performance when caching locally built wheels,
53+
especially when the temporary build directory is on a different filesystem than the cache.
54+
The wheel directory passed to the build backend is now a temporary subdirectory inside
55+
the cache directory. (`#13540 <https://github.com/pypa/pip/issues/13540>`_)
56+
- Include relevant user-supplied constraints in logs when reporting dependency conflicts. (`#13545 <https://github.com/pypa/pip/issues/13545>`_)
57+
- Fix a regression in configuration parsing that was turning a single value
58+
into a list and thus leading to a validation error. (`#13548 <https://github.com/pypa/pip/issues/13548>`_)
59+
- For Python versions that do not support :pep:`706`, pip will now raise an installation error for a
60+
source distribution when it includes a symlink that points outside the source distribution archive. (`#13550 <https://github.com/pypa/pip/issues/13550>`_)
61+
- Prevent ``--user`` installs if ``site.ENABLE_USER_SITE`` is set to ``False``. (`#8794 <https://github.com/pypa/pip/issues/8794>`_)
62+
63+
64+
Vendored Libraries
65+
------------------
66+
67+
- Upgrade certifi to 2025.10.5
68+
- Upgrade msgpack to 1.1.2
69+
- Upgrade platformdirs to 4.5.0
70+
- Upgrade requests to 2.32.5
71+
- Upgrade resolvelib to 1.2.1
72+
- Upgrade rich to 14.2.0
73+
- Upgrade tomli to 2.3.0
74+
- Upgrade truststore to 0.10.4
75+
1276
25.2 (2025-07-30)
1377
=================
1478

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If you find bugs, need help, or want to talk to the developers, please use our m
3333
* `Discourse channel`_
3434
* `User IRC`_
3535

36-
If you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
36+
If you want to get involved, head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms:
3737

3838
* `GitHub page`_
3939
* `Development documentation`_

docs/html/cli/pip.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ when decision is needed.
7777
.. _`2-build-system-interface`:
7878
.. rubric:: Build System Interface
7979

80-
This is now covered in :doc:`../reference/build-system/index`.
80+
This is now covered in :doc:`../reference/build-system`.
8181

8282
.. _`General Options`:
8383

docs/html/cli/pip_freeze.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ Description
2323

2424
.. pip-command-description:: freeze
2525

26+
.. note::
27+
By default, ``pip freeze`` omits bootstrap packaging tools so the output
28+
focuses on your project’s dependencies. On Python **3.11 and earlier**
29+
this excludes ``pip``, ``setuptools``, ``wheel`` and ``distribute``; on
30+
Python **3.12 and later** only ``pip`` is excluded. Use ``--all`` to
31+
include those packages when you need a complete environment snapshot.
32+
``pip freeze`` reports what is installed; it does **not** compute a
33+
lockfile or a solver result.
34+
2635

2736
Options
2837
=======

0 commit comments

Comments
 (0)