diff --git a/NEWS.rst b/NEWS.rst index 1473db7125c..2e24fab37ad 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -9,6 +9,63 @@ .. towncrier release notes start +23.0 (2023-01-30) +================= + +Features +-------- + +- Change the hashes in the installation report to be a mapping. Emit the + ``archive_info.hashes`` dictionary in ``direct_url.json``. (`#11312 `_) +- Implement logic to read the ``EXTERNALLY-MANAGED`` file as specified in PEP 668. + This allows a downstream Python distributor to prevent users from using pip to + modify the externally managed environment. (`#11381 `_) +- Enable the use of ``keyring`` found on ``PATH``. This allows ``keyring`` + installed using ``pipx`` to be used by ``pip``. (`#11589 `_) +- The inspect and installation report formats are now declared stabled, and their version + has been bumped from ``0`` to ``1``. (`#11757 `_) + +Bug Fixes +--------- + +- Wheel cache behavior is restored to match previous versions, allowing the + cache to find existing entries. (`#11527 `_) +- Use the "venv" scheme if available to obtain prefixed lib paths. (`#11598 `_) +- Deprecated a historical ambiguity in how ``egg`` fragments in URL-style + requirements are formatted and handled. ``egg`` fragments that do not look + like PEP 508 names now produce a deprecation warning. (`#11617 `_) +- Fix scripts path in isolated build environment on Debian. (`#11623 `_) +- Make ``pip show`` show the editable location if package is editable (`#11638 `_) +- Stop checking that ``wheel`` is present when ``build-system.requires`` + is provided without ``build-system.build-backend`` as ``setuptools`` + (which we still check for) will inject it anyway. (`#11673 `_) +- Fix an issue when an already existing in-memory distribution would cause + exceptions in ``pip install`` (`#11704 `_) + +Vendored Libraries +------------------ + +- Upgrade certifi to 2022.12.7 +- Upgrade chardet to 5.1.0 +- Upgrade colorama to 0.4.6 +- Upgrade distro to 1.8.0 +- Remove pep517 from vendored packages +- Upgrade platformdirs to 2.6.2 +- Add pyproject-hooks 1.0.0 +- Upgrade requests to 2.28.2 +- Upgrade rich to 12.6.0 +- Upgrade urllib3 to 1.26.14 + +Improved Documentation +---------------------- + +- Fixed the description of the option "--install-options" in the documentation (`#10265 `_) +- Remove mention that editable installs are necessary for pip freeze to report the VCS + URL. (`#11675 `_) +- Clarify that the egg URL fragment is only necessary for editable VCS installs, and + otherwise not necessary anymore. (`#11676 `_) + + 22.3.1 (2022-11-05) =================== diff --git a/news/10265.doc.rst b/news/10265.doc.rst deleted file mode 100644 index 477eb9753fb..00000000000 --- a/news/10265.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Fixed the description of the option "--install-options" in the documentation diff --git a/news/11312.feature.rst b/news/11312.feature.rst deleted file mode 100644 index 493dde83059..00000000000 --- a/news/11312.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Change the hashes in the installation report to be a mapping. Emit the -``archive_info.hashes`` dictionary in ``direct_url.json``. diff --git a/news/11381.feature.rst b/news/11381.feature.rst deleted file mode 100644 index 3df9877b476..00000000000 --- a/news/11381.feature.rst +++ /dev/null @@ -1,3 +0,0 @@ -Implement logic to read the ``EXTERNALLY-MANAGED`` file as specified in PEP 668. -This allows a downstream Python distributor to prevent users from using pip to -modify the externally managed environment. diff --git a/news/11527.bugfix.rst b/news/11527.bugfix.rst deleted file mode 100644 index 0185a804ff7..00000000000 --- a/news/11527.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Wheel cache behavior is restored to match previous versions, allowing the -cache to find existing entries. diff --git a/news/11589.feature.rst b/news/11589.feature.rst deleted file mode 100644 index d01a564b631..00000000000 --- a/news/11589.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Enable the use of ``keyring`` found on ``PATH``. This allows ``keyring`` -installed using ``pipx`` to be used by ``pip``. diff --git a/news/11598.bugfix.rst b/news/11598.bugfix.rst deleted file mode 100644 index 031ff9ddca0..00000000000 --- a/news/11598.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Use the "venv" scheme if available to obtain prefixed lib paths. diff --git a/news/11617.bugfix.rst b/news/11617.bugfix.rst deleted file mode 100644 index 02346e49c42..00000000000 --- a/news/11617.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Deprecated a historical ambiguity in how ``egg`` fragments in URL-style -requirements are formatted and handled. ``egg`` fragments that do not look -like PEP 508 names now produce a deprecation warning. diff --git a/news/11623.bugfix.rst b/news/11623.bugfix.rst deleted file mode 100644 index 45b8fe1928f..00000000000 --- a/news/11623.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix scripts path in isolated build environment on Debian. diff --git a/news/11638.bugfix.rst b/news/11638.bugfix.rst deleted file mode 100644 index 04ef930bc1b..00000000000 --- a/news/11638.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Make ``pip show`` show the editable location if package is editable diff --git a/news/11673.bugfix.rst b/news/11673.bugfix.rst deleted file mode 100644 index c3d92475c99..00000000000 --- a/news/11673.bugfix.rst +++ /dev/null @@ -1,3 +0,0 @@ -Stop checking that ``wheel`` is present when ``build-system.requires`` -is provided without ``build-system.build-backend`` as ``setuptools`` -(which we still check for) will inject it anyway. diff --git a/news/11675.doc.rst b/news/11675.doc.rst deleted file mode 100644 index b2b2278faf6..00000000000 --- a/news/11675.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Remove mention that editable installs are necessary for pip freeze to report the VCS -URL. diff --git a/news/11676.doc.rst b/news/11676.doc.rst deleted file mode 100644 index d3f9bd88bed..00000000000 --- a/news/11676.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Clarify that the egg URL fragment is only necessary for editable VCS installs, and -otherwise not necessary anymore. diff --git a/news/11704.bugfix.rst b/news/11704.bugfix.rst deleted file mode 100644 index 0e7902a2590..00000000000 --- a/news/11704.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix an issue when an already existing in-memory distribution would cause -exceptions in ``pip install`` diff --git a/news/11757.feature.rst b/news/11757.feature.rst deleted file mode 100644 index 594fb627156..00000000000 --- a/news/11757.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -The inspect and installation report formats are now declared stabled, and their version -has been bumped from ``0`` to ``1``. diff --git a/news/4e5ddb5b-e740-4ef8-a78a-8d62a144fdde.trivial.rst b/news/4e5ddb5b-e740-4ef8-a78a-8d62a144fdde.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/704B9286-9572-4871-9B35-C6A8FA66AE75.trivial.rst b/news/704B9286-9572-4871-9B35-C6A8FA66AE75.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/c1da841b-9024-4448-9ae1-6e4a5a5952f0.trivial.rst b/news/c1da841b-9024-4448-9ae1-6e4a5a5952f0.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 f02ba9f4187..00000000000 --- a/news/certifi.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade certifi to 2022.12.7 diff --git a/news/chardet.vendor.rst b/news/chardet.vendor.rst deleted file mode 100644 index 5aceb6c5e6f..00000000000 --- a/news/chardet.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade chardet to 5.1.0 diff --git a/news/colorama.vendor.rst b/news/colorama.vendor.rst deleted file mode 100644 index bf206c456d9..00000000000 --- a/news/colorama.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade colorama to 0.4.6 diff --git a/news/d4da20f5-0ed2-480c-baa9-2490e4abdff6.trivial.rst b/news/d4da20f5-0ed2-480c-baa9-2490e4abdff6.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/news/distro.vendor.rst b/news/distro.vendor.rst deleted file mode 100644 index a11f652b922..00000000000 --- a/news/distro.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade distro to 1.8.0 diff --git a/news/pep517.vendor.rst b/news/pep517.vendor.rst deleted file mode 100644 index 4b91e560f1f..00000000000 --- a/news/pep517.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Remove pep517 from vendored packages diff --git a/news/platformdirs.vendor.rst b/news/platformdirs.vendor.rst deleted file mode 100644 index 5c15bfbd9d5..00000000000 --- a/news/platformdirs.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade platformdirs to 2.6.2 diff --git a/news/pyproject-hooks.vendor.rst b/news/pyproject-hooks.vendor.rst deleted file mode 100644 index 2598d556477..00000000000 --- a/news/pyproject-hooks.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Add pyproject-hooks 1.0.0 diff --git a/news/requests.vendor.rst b/news/requests.vendor.rst deleted file mode 100644 index 9f91985c70c..00000000000 --- a/news/requests.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade requests to 2.28.2 diff --git a/news/rich.vendor.rst b/news/rich.vendor.rst deleted file mode 100644 index 56a2e9c5112..00000000000 --- a/news/rich.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade rich to 12.6.0 diff --git a/news/urllib3.vendor.rst b/news/urllib3.vendor.rst deleted file mode 100644 index c9d10554e0e..00000000000 --- a/news/urllib3.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade urllib3 to 1.26.14 diff --git a/src/pip/__init__.py b/src/pip/__init__.py index adc0eb10d00..2aead080d0f 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "23.0.dev0" +__version__ = "23.0" def main(args: Optional[List[str]] = None) -> int: