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: