Skip to content

Commit a3c8bb6

Browse files
authored
Merge pull request #11279 from sbidoul/release/22.2
Release 22.2
2 parents 790725a + 2132eb4 commit a3c8bb6

35 files changed

+91
-49
lines changed

AUTHORS.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Andre Aguiar
3939
Andreas Lutro
4040
Andrei Geacar
4141
Andrew Gaul
42+
Andrew Shymanel
4243
Andrey Bienkowski
4344
Andrey Bulgakov
4445
Andrés Delfino
@@ -183,6 +184,7 @@ David Hewitt
183184
David Linke
184185
David Poggi
185186
David Pursehouse
187+
David Runge
186188
David Tucker
187189
David Wales
188190
Davidovich
@@ -235,6 +237,8 @@ Felix Yan
235237
fiber-space
236238
Filip Kokosiński
237239
Filipe Laíns
240+
Finn Womack
241+
finnagin
238242
Florian Briand
239243
Florian Rathgeber
240244
Francesco
@@ -275,6 +279,7 @@ Herbert Pfennig
275279
Hsiaoming Yang
276280
Hugo Lopes Tavares
277281
Hugo van Kemenade
282+
Hugues Bruant
278283
Hynek Schlawack
279284
Ian Bicking
280285
Ian Cordasco
@@ -561,6 +566,7 @@ Ryan Wooden
561566
ryneeverett
562567
Sachi King
563568
Salvatore Rinchiera
569+
sandeepkiran-js
564570
Savio Jomton
565571
schlamar
566572
Scott Kitterman
@@ -571,6 +577,7 @@ Sebastian Schaetz
571577
Segev Finer
572578
SeongSoo Cho
573579
Sergey Vasilyev
580+
Seth Michael Larson
574581
Seth Woodworth
575582
shireenrao
576583
Shivansh-007
@@ -615,6 +622,7 @@ Thomas Guettler
615622
Thomas Johansson
616623
Thomas Kluyver
617624
Thomas Smith
625+
Thomas VINCENT
618626
Tim D. Smith
619627
Tim Gates
620628
Tim Harder
@@ -629,6 +637,7 @@ Tomas Orsava
629637
Tomer Chachamu
630638
Tomáš Hrnčiar
631639
Tony Beswick
640+
Tony Narlock
632641
Tony Zhaocheng Tan
633642
TonyBeswick
634643
toonarmycaptain
@@ -674,5 +683,6 @@ Zhiping Deng
674683
ziebam
675684
Zvezdan Petkovic
676685
Łukasz Langa
686+
Роман Донченко
677687
Семён Марьясин
678688
‮rekcäH nitraM‮

NEWS.rst

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,86 @@
99
1010
.. towncrier release notes start
1111
12+
22.2 (2022-07-21)
13+
=================
14+
15+
Deprecations and Removals
16+
-------------------------
17+
18+
- Remove the ``html5lib`` deprecated feature flag. (`#10825 <https://github.com/pypa/pip/issues/10825>`_)
19+
- Remove ``--use-deprecated=backtrack-on-build-failures``. (`#11241 <https://github.com/pypa/pip/issues/11241>`_)
20+
21+
Features
22+
--------
23+
24+
- Add support to use `truststore <https://pypi.org/project/truststore/>`_ as an
25+
alternative SSL certificate verification backend. The backend can be enabled on Python
26+
3.10 and later by installing ``truststore`` into the environment, and adding the
27+
``--use-feature=truststore`` flag to various pip commands.
28+
29+
``truststore`` differs from the current default verification backend (provided by
30+
``certifi``) in it uses the operating system’s trust store, which can be better
31+
controlled and augmented to better support non-standard certificates. Depending on
32+
feedback, pip may switch to this as the default certificate verification backend in
33+
the future. (`#11082 <https://github.com/pypa/pip/issues/11082>`_)
34+
- Add ``--dry-run`` option to ``pip install``, to let it print what it would install but
35+
not actually change anything in the target environment. (`#11096 <https://github.com/pypa/pip/issues/11096>`_)
36+
- Record in wheel cache entries the URL of the original artifact that was downloaded
37+
to build the cached wheels. The record is named ``origin.json`` and uses the PEP 610
38+
Direct URL format. (`#11137 <https://github.com/pypa/pip/issues/11137>`_)
39+
- Support `PEP 691 <https://peps.python.org/pep-0691/>`_. (`#11158 <https://github.com/pypa/pip/issues/11158>`_)
40+
- pip's deprecation warnings now subclass the built-in ``DeprecationWarning``, and
41+
can be suppressed by running the Python interpreter with
42+
``-W ignore::DeprecationWarning``. (`#11225 <https://github.com/pypa/pip/issues/11225>`_)
43+
- Add ``pip inspect`` command to obtain the list of installed distributions and other
44+
information about the Python environment, in JSON format. (`#11245 <https://github.com/pypa/pip/issues/11245>`_)
45+
- Significantly speed up isolated environment creation, by using the same
46+
sources for pip instead of creating a standalone installation for each
47+
environment. (`#11257 <https://github.com/pypa/pip/issues/11257>`_)
48+
- Add an experimental ``--report`` option to the install command to generate a JSON report
49+
of what was installed. In combination with ``--dry-run`` and ``--ignore-installed`` it
50+
can be used to resolve the requirements. (`#53 <https://github.com/pypa/pip/issues/53>`_)
51+
52+
Bug Fixes
53+
---------
54+
55+
- Fix ``pip install --pre`` for packages with pre-release build dependencies defined
56+
both in ``pyproject.toml``'s ``build-system.requires`` and ``setup.py``'s
57+
``setup_requires``. (`#10222 <https://github.com/pypa/pip/issues/10222>`_)
58+
- When pip rewrites the shebang line in a script during wheel installation,
59+
update the hash and size in the corresponding ``RECORD`` file entry. (`#10744 <https://github.com/pypa/pip/issues/10744>`_)
60+
- Do not consider a ``.dist-info`` directory found inside a wheel-like zip file
61+
as metadata for an installed distribution. A package in a wheel is (by
62+
definition) not installed, and is not guaranteed to work due to how a wheel is
63+
structured. (`#11217 <https://github.com/pypa/pip/issues/11217>`_)
64+
- Use ``importlib.resources`` to read the ``vendor.txt`` file in ``pip debug``.
65+
This makes the command safe for use from a zipapp. (`#11248 <https://github.com/pypa/pip/issues/11248>`_)
66+
- Make the ``--use-pep517`` option of the ``download`` command apply not just
67+
to the requirements specified on the command line, but to their dependencies,
68+
as well. (`#9523 <https://github.com/pypa/pip/issues/9523>`_)
69+
70+
Process
71+
-------
72+
73+
- Remove reliance on the stdlib cgi module, which is deprecated in Python 3.11.
74+
75+
Vendored Libraries
76+
------------------
77+
78+
- Remove html5lib.
79+
- Upgrade certifi to 2022.6.15
80+
- Upgrade chardet to 5.0.0
81+
- Upgrade colorama to 0.4.5
82+
- Upgrade distlib to 0.3.5
83+
- Upgrade msgpack to 1.0.4
84+
- Upgrade pygments to 2.12.0
85+
- Upgrade pyparsing to 3.0.9
86+
- Upgrade requests to 2.28.1
87+
- Upgrade rich to 12.5.1
88+
- Upgrade typing_extensions to 4.3.0
89+
- Upgrade urllib3 to 1.26.10
90+
91+
1292
22.1.2 (2022-05-31)
1393
===================
1494

news/10222.bugfix.rst

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

news/10721.trivial.rst

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

news/10744.bugfix.rst

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

news/10825.removal.rst

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

news/11082.feature.rst

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

news/11096.feature.rst

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

news/11099.process.rst

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

news/11137.feature.rst

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

0 commit comments

Comments
 (0)