diff --git a/NEWS.rst b/NEWS.rst index 7930a63a020..3c6e4be151c 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -9,7 +9,45 @@ .. towncrier release notes start +24.0 (2024-02-03) +================= + +Process +------- + +- Most project metadata is now defined statically via pip's ``pyproject.toml`` file. + +Features +-------- + +- Retry on HTTP status code 502 (`#11843 `_) +- Automatically use the setuptools PEP 517 build backend when ``--config-settings`` is + used for projects without ``pyproject.toml``. (`#11915 `_) +- Make pip freeze and pip uninstall of legacy editable installs of packages whose name + contains ``_`` compatible with ``setuptools>=69.0.3``. (`#12477 `_) +- Support per requirement ``--config-settings`` for editable installs. (`#12480 `_) + +Bug Fixes +--------- + +- Optimized usage of ``--find-links=``, by only scanning the relevant directory once, only considering file names that are valid wheel or sdist names, and only considering files in the directory that are related to the install. (`#12327 `_) +- Removed ``wheel`` from the ``[build-system].requires`` list fallback + that is used when ``pyproject.toml`` is absent. (`#12449 `_) + +Vendored Libraries +------------------ + +- Upgrade distlib to 0.3.8 + +Improved Documentation +---------------------- +- Fix explanation of how PIP_CONFIG_FILE works (`#11815 `_) +- Fix outdated pip install argument description in documentation. (`#12417 `_) +- Replace some links to PEPs with links to the canonical specifications on the :doc:`pypug:index` (`#12434 `_) +- Updated the ``pyproject.toml`` document to stop suggesting + to depend on ``wheel`` as a build dependency directly. (`#12449 `_) +- Update supported interpreters in development docs (`#12475 `_) 23.3.2 (2023-12-17) =================== diff --git a/news/11815.doc.rst b/news/11815.doc.rst deleted file mode 100644 index 8e7e8d21bef..00000000000 --- a/news/11815.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix explanation of how PIP_CONFIG_FILE works diff --git a/news/11843.feature.rst b/news/11843.feature.rst deleted file mode 100644 index 56ff2c6d48e..00000000000 --- a/news/11843.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Retry on HTTP status code 502 diff --git a/news/11909.process.rst b/news/11909.process.rst deleted file mode 100644 index a396d93d963..00000000000 --- a/news/11909.process.rst +++ /dev/null @@ -1 +0,0 @@ -Most project metadata is now defined statically via pip's ``pyproject.toml`` file. diff --git a/news/11915.feature.rst b/news/11915.feature.rst deleted file mode 100644 index e2e1fd7ce8f..00000000000 --- a/news/11915.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Automatically use the setuptools PEP 517 build backend when ``--config-settings`` is -used for projects without ``pyproject.toml``. diff --git a/news/12327.bugfix.rst b/news/12327.bugfix.rst deleted file mode 100644 index b07ef130a2e..00000000000 --- a/news/12327.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Optimized usage of ``--find-links=``, by only scanning the relevant directory once, only considering file names that are valid wheel or sdist names, and only considering files in the directory that are related to the install. diff --git a/news/12390.trivial.rst b/news/12390.trivial.rst deleted file mode 100644 index 52b21413ca0..00000000000 --- a/news/12390.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Update ruff versions and config for dev diff --git a/news/12393.trivial.rst b/news/12393.trivial.rst deleted file mode 100644 index 15452737aef..00000000000 --- a/news/12393.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Enforce and update code to use f-strings via Ruff rule UP032 diff --git a/news/12417.doc.rst b/news/12417.doc.rst deleted file mode 100644 index efde79a5808..00000000000 --- a/news/12417.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Fix outdated pip install argument description in documentation. diff --git a/news/12434.doc.rst b/news/12434.doc.rst deleted file mode 100644 index c1d3635df78..00000000000 --- a/news/12434.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Replace some links to PEPs with links to the canonical specifications on the :doc:`pypug:index` diff --git a/news/12449.bugfix.rst b/news/12449.bugfix.rst deleted file mode 100644 index 19f1d9809ac..00000000000 --- a/news/12449.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Removed ``wheel`` from the ``[build-system].requires`` list fallback -that is used when ``pyproject.toml`` is absent. diff --git a/news/12449.doc.rst b/news/12449.doc.rst deleted file mode 100644 index 431475f51eb..00000000000 --- a/news/12449.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Updated the ``pyproject.toml`` document to stop suggesting -to depend on ``wheel`` as a build dependency directly. diff --git a/news/12475.doc.rst b/news/12475.doc.rst deleted file mode 100644 index 2713e1878c9..00000000000 --- a/news/12475.doc.rst +++ /dev/null @@ -1 +0,0 @@ -Update supported interpreters in development docs diff --git a/news/12477.feature.rst b/news/12477.feature.rst deleted file mode 100644 index 56b6e99b38f..00000000000 --- a/news/12477.feature.rst +++ /dev/null @@ -1,2 +0,0 @@ -Make pip freeze and pip uninstall of legacy editable installs of packages whose name -contains ``_`` compatible with ``setuptools>=69.0.3``. diff --git a/news/12480.feature.rst b/news/12480.feature.rst deleted file mode 100644 index dd6101c244e..00000000000 --- a/news/12480.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Support per requirement ``--config-settings`` for editable installs. diff --git a/news/distlib.vendor.rst b/news/distlib.vendor.rst deleted file mode 100644 index 13caa068e0d..00000000000 --- a/news/distlib.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade distlib to 0.3.8 diff --git a/news/fixtypo.trivial.rst b/news/fixtypo.trivial.rst deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/src/pip/__init__.py b/src/pip/__init__.py index 46e56014998..be0e3edbc4b 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "24.0.dev0" +__version__ = "24.0" def main(args: Optional[List[str]] = None) -> int: