From 53e5f192bab27cad793e9dbfd9849717c1ed3617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Thu, 1 Feb 2024 20:21:06 +0100 Subject: [PATCH 1/5] Tweak news before release --- NEWS.rst | 1 + news/12389.bugfix.rst | 1 - news/12480.feature.rst | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 news/12389.bugfix.rst diff --git a/NEWS.rst b/NEWS.rst index 8738e181e2e..7930a63a020 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -9,6 +9,7 @@ .. towncrier release notes start + 23.3.2 (2023-12-17) =================== diff --git a/news/12389.bugfix.rst b/news/12389.bugfix.rst deleted file mode 100644 index 84871873328..00000000000 --- a/news/12389.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Update mypy to 1.6.1 and fix/ignore types diff --git a/news/12480.feature.rst b/news/12480.feature.rst index 1e9d5531996..dd6101c244e 100644 --- a/news/12480.feature.rst +++ b/news/12480.feature.rst @@ -1 +1 @@ -Support per requirement options for editable installs. +Support per requirement ``--config-settings`` for editable installs. From ef56d47f90eb3881dba5134241de94d504576f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 3 Feb 2024 09:57:13 +0100 Subject: [PATCH 2/5] Update AUTHORS.txt --- AUTHORS.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/AUTHORS.txt b/AUTHORS.txt index e02de32bcf3..0e6354892d8 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -160,6 +160,7 @@ Cristina Muñoz Curtis Doty cytolentino Daan De Meyer +Dale Damian Damian Quiroga Damian Shaw @@ -226,6 +227,7 @@ Dustin Ingram Dwayne Bailey Ed Morley Edgar Ramírez +Edgar Ramírez Mondragón Ee Durbin Efflam Lemaillet efflamlemaillet @@ -258,6 +260,7 @@ Filip Kokosiński Filipe Laíns Finn Womack finnagin +Flavio Amurrio Florian Briand Florian Rathgeber Francesco @@ -320,6 +323,7 @@ Ionel Cristian Mărieș Ionel Maries Cristian Itamar Turner-Trauring Ivan Pozdeev +J. Nick Koston Jacob Kim Jacob Walls Jaime Sanz @@ -342,6 +346,7 @@ Jason R. Coombs JasonMo JasonMo1 Jay Graves +Jean Abou Samra Jean-Christophe Fillion-Robin Jeff Barber Jeff Dairiki @@ -581,6 +586,7 @@ Przemek Wrzos Pulkit Goyal q0w Qiangning Hong +Qiming Xu Quentin Lee Quentin Pradet R. David Murray @@ -719,6 +725,7 @@ Vincent Philippon Vinicyus Macedo Vipul Kumar Vitaly Babiy +Vladimir Fokow Vladimir Rutsky W. Trevor King Wil Tan From 6681c02710b81278adb874007286960108867768 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 3 Feb 2024 09:57:14 +0100 Subject: [PATCH 3/5] Bump for release --- NEWS.rst | 38 ++++++++++++++++++++++++++++++++++++++ news/11815.doc.rst | 1 - news/11843.feature.rst | 1 - news/11909.process.rst | 1 - news/11915.feature.rst | 2 -- news/12327.bugfix.rst | 1 - news/12390.trivial.rst | 1 - news/12393.trivial.rst | 1 - news/12417.doc.rst | 1 - news/12434.doc.rst | 1 - news/12449.bugfix.rst | 2 -- news/12449.doc.rst | 2 -- news/12475.doc.rst | 1 - news/12477.feature.rst | 2 -- news/12480.feature.rst | 1 - news/distlib.vendor.rst | 1 - news/fixtypo.trivial.rst | 0 src/pip/__init__.py | 2 +- 18 files changed, 39 insertions(+), 20 deletions(-) delete mode 100644 news/11815.doc.rst delete mode 100644 news/11843.feature.rst delete mode 100644 news/11909.process.rst delete mode 100644 news/11915.feature.rst delete mode 100644 news/12327.bugfix.rst delete mode 100644 news/12390.trivial.rst delete mode 100644 news/12393.trivial.rst delete mode 100644 news/12417.doc.rst delete mode 100644 news/12434.doc.rst delete mode 100644 news/12449.bugfix.rst delete mode 100644 news/12449.doc.rst delete mode 100644 news/12475.doc.rst delete mode 100644 news/12477.feature.rst delete mode 100644 news/12480.feature.rst delete mode 100644 news/distlib.vendor.rst delete mode 100644 news/fixtypo.trivial.rst 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: From ef78c129b1a966dbbbdb8ebfffc43723e89110d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 3 Feb 2024 10:01:04 +0100 Subject: [PATCH 4/5] Tweak NEWS.rst --- NEWS.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/NEWS.rst b/NEWS.rst index 3c6e4be151c..6b1dff81e80 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -12,11 +12,6 @@ 24.0 (2024-02-03) ================= -Process -------- - -- Most project metadata is now defined statically via pip's ``pyproject.toml`` file. - Features -------- @@ -48,6 +43,12 @@ Improved Documentation - 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 `_) + +Process +------- + +- Most project metadata is now defined statically via pip's ``pyproject.toml`` file. + 23.3.2 (2023-12-17) =================== From f8dd7ddb1b9049f5524779ee8c79fbf7ba5d5e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 3 Feb 2024 09:57:16 +0100 Subject: [PATCH 5/5] 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 be0e3edbc4b..13523d261f0 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "24.0" +__version__ = "24.1.dev0" def main(args: Optional[List[str]] = None) -> int: