From 25638287f8b8bd571a10c4f5ae1b7f4eae454dcc Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Sat, 15 Oct 2022 11:59:13 +0100 Subject: [PATCH 1/3] Update AUTHORS.txt --- AUTHORS.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index 3db1a3c7362..007454f8b20 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -137,6 +137,7 @@ Christopher Hunt Christopher Snyder cjc7373 Clark Boylan +Claudio Jolowicz Clay McClure Cody Cody Soyland @@ -234,6 +235,8 @@ Erik Rose Erwin Janssen Eugene Vereshchagin everdimension +Federico +Felipe Peter Felix Yan fiber-space Filip Kokosiński @@ -275,6 +278,7 @@ Hari Charan Harsh Vardhan harupy Harutaka Kawamura +hauntsaninja Henrich Hartzer Henry Schreiner Herbert Pfennig @@ -299,6 +303,7 @@ Ionel Maries Cristian Ivan Pozdeev Jacob Kim Jacob Walls +Jaime Sanz jakirkham Jakub Stasiak Jakub Vysoky @@ -393,6 +398,7 @@ Luo Jiebin luojiebin luz.paz László Kiss Kollár +M00nL1ght Marc Abramowitz Marc Tamlyn Marcus Smith @@ -545,6 +551,7 @@ Reece Dunham Remi Rampin Rene Dudfield Riccardo Magliocchetti +Riccardo Schirone Richard Jones Richard Si Ricky Ng-Adam From 0a76da3a94130fad58b086e331c3d3e1b02a89eb Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Sat, 15 Oct 2022 11:59:14 +0100 Subject: [PATCH 2/3] Bump for release --- NEWS.rst | 56 +++++++++++++++++++ news/10716.feature.rst | 1 - news/11111.feature.rst | 1 - news/11250.feature.rst | 1 - news/11254.trivial.rst | 0 news/11276.bugfix.rst | 2 - news/11309.bugfix.rst | 1 - news/11320.feature.rst | 2 - news/11352.bugfix.rst | 2 - news/11357.doc.rst | 1 - news/11358.removal.rst | 2 - news/11418.trivial.rst | 1 - news/11452.removal.rst | 2 - news/11454.removal.rst | 1 - news/11459.feature.rst | 1 - news/11491.bugfix.rst | 1 - news/11493.removal.rst | 1 - news/5444.feature.rst | 1 - ...4E-E089-4CDB-857A-868BA1F7435D.trivial.rst | 0 ...86-1229-45ef-8a8a-dee90602ccdd.trivial.rst | 0 news/6264.bugfix.rst | 1 - news/8559.removal.rst | 2 - news/9789.removal.rst | 1 - ...88-9311-4DAB-BD89-6FBC3F296275.trivial.rst | 0 ...3f-7001-4ff0-a100-c36496ff8758.trivial.rst | 0 news/certifi.vendor.rst | 1 - news/distlib.vendor.rst | 1 - news/idna.vendor.rst | 1 - news/pep517.vendor.rst | 1 - news/pygments.vendor.rst | 1 - news/tenacity.vendor.rst | 1 - news/typing_extensions.vendor.rst | 1 - news/urllib3.vendor.rst | 1 - src/pip/__init__.py | 2 +- 34 files changed, 57 insertions(+), 34 deletions(-) delete mode 100644 news/10716.feature.rst delete mode 100644 news/11111.feature.rst delete mode 100644 news/11250.feature.rst delete mode 100644 news/11254.trivial.rst delete mode 100644 news/11276.bugfix.rst delete mode 100644 news/11309.bugfix.rst delete mode 100644 news/11320.feature.rst delete mode 100644 news/11352.bugfix.rst delete mode 100644 news/11357.doc.rst delete mode 100644 news/11358.removal.rst delete mode 100644 news/11418.trivial.rst delete mode 100644 news/11452.removal.rst delete mode 100644 news/11454.removal.rst delete mode 100644 news/11459.feature.rst delete mode 100644 news/11491.bugfix.rst delete mode 100644 news/11493.removal.rst delete mode 100644 news/5444.feature.rst delete mode 100644 news/5580954E-E089-4CDB-857A-868BA1F7435D.trivial.rst delete mode 100644 news/5ba58886-1229-45ef-8a8a-dee90602ccdd.trivial.rst delete mode 100644 news/6264.bugfix.rst delete mode 100644 news/8559.removal.rst delete mode 100644 news/9789.removal.rst delete mode 100644 news/A12E8588-9311-4DAB-BD89-6FBC3F296275.trivial.rst delete mode 100644 news/c57bc03f-7001-4ff0-a100-c36496ff8758.trivial.rst delete mode 100644 news/certifi.vendor.rst delete mode 100644 news/distlib.vendor.rst delete mode 100644 news/idna.vendor.rst delete mode 100644 news/pep517.vendor.rst delete mode 100644 news/pygments.vendor.rst delete mode 100644 news/tenacity.vendor.rst delete mode 100644 news/typing_extensions.vendor.rst delete mode 100644 news/urllib3.vendor.rst diff --git a/NEWS.rst b/NEWS.rst index 6485bc159b7..ec16a384eb2 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -9,6 +9,62 @@ .. towncrier release notes start +22.3 (2022-10-15) +================= + +Deprecations and Removals +------------------------- + +- Deprecate ``--install-options`` which forces pip to use the deprecated ``install`` + command of ``setuptools``. (`#11358 `_) +- Deprecate installation with 'setup.py install' when no-binary is enabled for + source distributions without 'pyproject.toml'. (`#11452 `_) +- Deprecate ```--no-binary`` disabling the wheel cache. (`#11454 `_) +- Remove ``--use-feature=2020-resolver`` opt-in flag. This was supposed to be removed in 21.0, but missed during that release cycle. (`#11493 `_) +- Deprecate installation with 'setup.py install' when the 'wheel' package is absent for + source distributions without 'pyproject.toml'. (`#8559 `_) +- Remove the ability to use ``pip list --outdated`` in combination with ``--format=freeze``. (`#9789 `_) + +Features +-------- + +- Use ``shell=True`` for opening the editor with ``pip config edit``. (`#10716 `_) +- Use the ``data-dist-info-metadata`` attribute from :pep:`658` to resolve distribution metadata without downloading the dist yet. (`#11111 `_) +- Add an option to run the test suite with pip built as a zipapp. (`#11250 `_) +- Add a ``--python`` option to allow pip to manage Python environments other + than the one pip is installed in. (`#11320 `_) +- Document the new (experimental) zipapp distribution of pip. (`#11459 `_) +- Use the much faster 'bzr co --lightweight' to obtain a copy of a Bazaar tree. (`#5444 `_) + +Bug Fixes +--------- + +- Fix ``--no-index`` when ``--index-url`` or ``--extra-index-url`` is specified + inside a requirements file. (`#11276 `_) +- Ensure that the candidate ``pip`` executable exists, when checking for a new version of pip. (`#11309 `_) +- Ignore distributions with invalid ``Name`` in metadata instead of crashing, when + using the ``importlib.metadata`` backend. (`#11352 `_) +- Raise RequirementsFileParseError when parsing malformed requirements options that can't be sucessfully parsed by shlex. (`#11491 `_) +- Fix build environment isolation on some system Pythons. (`#6264 `_) + +Vendored Libraries +------------------ + +- Upgrade certifi to 2022.9.24 +- Upgrade distlib to 0.3.6 +- Upgrade idna to 3.4 +- Upgrade pep517 to 0.13.0 +- Upgrade pygments to 2.13.0 +- Upgrade tenacity to 8.1.0 +- Upgrade typing_extensions to 4.4.0 +- Upgrade urllib3 to 1.26.12 + +Improved Documentation +---------------------- + +- Mention that --quiet must be used when writing the installation report to stdout. (`#11357 `_) + + 22.2.2 (2022-08-03) =================== diff --git a/news/10716.feature.rst b/news/10716.feature.rst deleted file mode 100644 index ef09e1b8f58..00000000000 --- a/news/10716.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use ``shell=True`` for opening the editor with ``pip config edit``. diff --git a/news/11111.feature.rst b/news/11111.feature.rst deleted file mode 100644 index 39cb4b35c12..00000000000 --- a/news/11111.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use the ``data-dist-info-metadata`` attribute from :pep:`658` to resolve distribution metadata without downloading the dist yet. diff --git a/news/11250.feature.rst b/news/11250.feature.rst deleted file mode 100644 index a80c54699c8..00000000000 --- a/news/11250.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Add an option to run the test suite with pip built as a zipapp. diff --git a/news/11254.trivial.rst b/news/11254.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/11276.bugfix.rst b/news/11276.bugfix.rst deleted file mode 100644 index af8f518bef4..00000000000 --- a/news/11276.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix ``--no-index`` when ``--index-url`` or ``--extra-index-url`` is specified -inside a requirements file. diff --git a/news/11309.bugfix.rst b/news/11309.bugfix.rst deleted file mode 100644 index 9ee54057da4..00000000000 --- a/news/11309.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Ensure that the candidate ``pip`` executable exists, when checking for a new version of pip. diff --git a/news/11320.feature.rst b/news/11320.feature.rst deleted file mode 100644 index 843eac7c9f4..00000000000 --- a/news/11320.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Add a ``--python`` option to allow pip to manage Python environments other -than the one pip is installed in. diff --git a/news/11352.bugfix.rst b/news/11352.bugfix.rst deleted file mode 100644 index 78016c912ef..00000000000 --- a/news/11352.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Ignore distributions with invalid ``Name`` in metadata instead of crashing, when -using the ``importlib.metadata`` backend. diff --git a/news/11357.doc.rst b/news/11357.doc.rst deleted file mode 100644 index 887928a086e..00000000000 --- a/news/11357.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Mention that --quiet must be used when writing the installation report to stdout. diff --git a/news/11358.removal.rst b/news/11358.removal.rst deleted file mode 100644 index 9767949b48b..00000000000 --- a/news/11358.removal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate ``--install-options`` which forces pip to use the deprecated ``install`` -command of ``setuptools``. diff --git a/news/11418.trivial.rst b/news/11418.trivial.rst deleted file mode 100644 index df32a0d0bc3..00000000000 --- a/news/11418.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Patch non-exploitable ReDoS vulnerability in wheel_file regex diff --git a/news/11452.removal.rst b/news/11452.removal.rst deleted file mode 100644 index ac29324abc8..00000000000 --- a/news/11452.removal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate installation with 'setup.py install' when no-binary is enabled for -source distributions without 'pyproject.toml'. diff --git a/news/11454.removal.rst b/news/11454.removal.rst deleted file mode 100644 index 14c4dc73ac7..00000000000 --- a/news/11454.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Deprecate ```--no-binary`` disabling the wheel cache. diff --git a/news/11459.feature.rst b/news/11459.feature.rst deleted file mode 100644 index a4a11c09353..00000000000 --- a/news/11459.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Document the new (experimental) zipapp distribution of pip. diff --git a/news/11491.bugfix.rst b/news/11491.bugfix.rst deleted file mode 100644 index a8f53927fa1..00000000000 --- a/news/11491.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Raise RequirementsFileParseError when parsing malformed requirements options that can't be sucessfully parsed by shlex. diff --git a/news/11493.removal.rst b/news/11493.removal.rst deleted file mode 100644 index de559e899bb..00000000000 --- a/news/11493.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove ``--use-feature=2020-resolver`` opt-in flag. This was supposed to be removed in 21.0, but missed during that release cycle. diff --git a/news/5444.feature.rst b/news/5444.feature.rst deleted file mode 100644 index 19780e694ec..00000000000 --- a/news/5444.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Use the much faster 'bzr co --lightweight' to obtain a copy of a Bazaar tree. diff --git a/news/5580954E-E089-4CDB-857A-868BA1F7435D.trivial.rst b/news/5580954E-E089-4CDB-857A-868BA1F7435D.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/5ba58886-1229-45ef-8a8a-dee90602ccdd.trivial.rst b/news/5ba58886-1229-45ef-8a8a-dee90602ccdd.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/6264.bugfix.rst b/news/6264.bugfix.rst deleted file mode 100644 index 66554a473f5..00000000000 --- a/news/6264.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix build environment isolation on some system Pythons. diff --git a/news/8559.removal.rst b/news/8559.removal.rst deleted file mode 100644 index aa9f814120d..00000000000 --- a/news/8559.removal.rst +++ /dev/null @@ -1,2 +0,0 @@ -Deprecate installation with 'setup.py install' when the 'wheel' package is absent for -source distributions without 'pyproject.toml'. diff --git a/news/9789.removal.rst b/news/9789.removal.rst deleted file mode 100644 index 90ded923507..00000000000 --- a/news/9789.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Remove the ability to use ``pip list --outdated`` in combination with ``--format=freeze``. diff --git a/news/A12E8588-9311-4DAB-BD89-6FBC3F296275.trivial.rst b/news/A12E8588-9311-4DAB-BD89-6FBC3F296275.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/c57bc03f-7001-4ff0-a100-c36496ff8758.trivial.rst b/news/c57bc03f-7001-4ff0-a100-c36496ff8758.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/certifi.vendor.rst b/news/certifi.vendor.rst deleted file mode 100644 index 7477fcc2a24..00000000000 --- a/news/certifi.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade certifi to 2022.9.24 diff --git a/news/distlib.vendor.rst b/news/distlib.vendor.rst deleted file mode 100644 index 5fa036110fb..00000000000 --- a/news/distlib.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade distlib to 0.3.6 diff --git a/news/idna.vendor.rst b/news/idna.vendor.rst deleted file mode 100644 index 087598cbf5c..00000000000 --- a/news/idna.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade idna to 3.4 diff --git a/news/pep517.vendor.rst b/news/pep517.vendor.rst deleted file mode 100644 index e18c1d87bb0..00000000000 --- a/news/pep517.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade pep517 to 0.13.0 diff --git a/news/pygments.vendor.rst b/news/pygments.vendor.rst deleted file mode 100644 index 0e5f7c580c6..00000000000 --- a/news/pygments.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade pygments to 2.13.0 diff --git a/news/tenacity.vendor.rst b/news/tenacity.vendor.rst deleted file mode 100644 index 45921e5bff1..00000000000 --- a/news/tenacity.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade tenacity to 8.1.0 diff --git a/news/typing_extensions.vendor.rst b/news/typing_extensions.vendor.rst deleted file mode 100644 index 60371890721..00000000000 --- a/news/typing_extensions.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade typing_extensions to 4.4.0 diff --git a/news/urllib3.vendor.rst b/news/urllib3.vendor.rst deleted file mode 100644 index 5942d465180..00000000000 --- a/news/urllib3.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade urllib3 to 1.26.12 diff --git a/src/pip/__init__.py b/src/pip/__init__.py index a40148f008f..168abe86186 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "22.3.dev0" +__version__ = "22.3" def main(args: Optional[List[str]] = None) -> int: From c8ae2800186a0b499d5717a64b267460a6d51f6a Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Sat, 15 Oct 2022 11:59:14 +0100 Subject: [PATCH 3/3] Bump for development --- src/pip/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/__init__.py b/src/pip/__init__.py index 168abe86186..adc0eb10d00 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "22.3" +__version__ = "23.0.dev0" def main(args: Optional[List[str]] = None) -> int: