From 4147b093d0aea4f57757c699a0b25bbc3aab2580 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 19 Aug 2024 16:31:35 -0400 Subject: [PATCH] =?UTF-8?q?Bump=20version:=2072.2.0=20=E2=86=92=2073.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 2 +- NEWS.rst | 34 ++++++++++++++++++++++++++++++ newsfragments/+61911d95.bugfix.rst | 1 - newsfragments/4383.bugfix.rst | 1 - newsfragments/4420.bugfix.rst | 2 -- newsfragments/4503.feature.rst | 1 - newsfragments/4505.feature.rst | 1 - newsfragments/4534.misc.rst | 1 - newsfragments/4546.misc.rst | 2 -- newsfragments/4554.misc.rst | 1 - newsfragments/4559.misc.rst | 2 -- newsfragments/4565.misc.rst | 3 --- newsfragments/4574.removal.rst | 4 ---- pyproject.toml | 2 +- 14 files changed, 36 insertions(+), 21 deletions(-) delete mode 100644 newsfragments/+61911d95.bugfix.rst delete mode 100644 newsfragments/4383.bugfix.rst delete mode 100644 newsfragments/4420.bugfix.rst delete mode 100644 newsfragments/4503.feature.rst delete mode 100644 newsfragments/4505.feature.rst delete mode 100644 newsfragments/4534.misc.rst delete mode 100644 newsfragments/4546.misc.rst delete mode 100644 newsfragments/4554.misc.rst delete mode 100644 newsfragments/4559.misc.rst delete mode 100644 newsfragments/4565.misc.rst delete mode 100644 newsfragments/4574.removal.rst diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 7215487880..8cd611b4a2 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 72.2.0 +current_version = 73.0.0 commit = True tag = True diff --git a/NEWS.rst b/NEWS.rst index a2d5eeba36..cfb8a2379f 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -1,3 +1,37 @@ +v73.0.0 +======= + +Features +-------- + +- Mark abstract base classes and methods with `abc.ABC` and `abc.abstractmethod` -- by :user:`Avasam` (#4503) +- Changed the order of type checks in ``setuptools.command.easy_install.CommandSpec.from_param`` to support any `collections.abc.Iterable` of `str` param -- by :user:`Avasam` (#4505) + + +Bugfixes +-------- + +- Prevent an error in ``bdist_wheel`` if ``compression`` is set to a `str` (even if valid) after finalizing options but before running the command. -- by :user:`Avasam` (#4383) +- Raises an exception when ``py_limited_api`` is used in a build with + ``Py_GIL_DISABLED``. This is currently not supported (python/cpython#111506). (#4420) +- Synced with pypa/distutils@30b7331 including fix for modified check on empty sources (pypa/distutils#284). + + +Deprecations and Removals +------------------------- + +- ``setuptools`` is replacing the usages of :pypi:`ordered_set` with simple + instances of ``dict[Hashable, None]``. This is done to remove the extra + dependency and it is possible because since Python 3.7, ``dict`` maintain + insertion order. (#4574) + + +Misc +---- + +- #4534, #4546, #4554, #4559, #4565 + + v72.2.0 ======= diff --git a/newsfragments/+61911d95.bugfix.rst b/newsfragments/+61911d95.bugfix.rst deleted file mode 100644 index f542998cd5..0000000000 --- a/newsfragments/+61911d95.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Synced with pypa/distutils@30b7331 including fix for modified check on empty sources (pypa/distutils#284). \ No newline at end of file diff --git a/newsfragments/4383.bugfix.rst b/newsfragments/4383.bugfix.rst deleted file mode 100644 index e5fd603abb..0000000000 --- a/newsfragments/4383.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Prevent an error in ``bdist_wheel`` if ``compression`` is set to a `str` (even if valid) after finalizing options but before running the command. -- by :user:`Avasam` diff --git a/newsfragments/4420.bugfix.rst b/newsfragments/4420.bugfix.rst deleted file mode 100644 index c5f75fcddb..0000000000 --- a/newsfragments/4420.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Raises an exception when ``py_limited_api`` is used in a build with -``Py_GIL_DISABLED``. This is currently not supported (python/cpython#111506). diff --git a/newsfragments/4503.feature.rst b/newsfragments/4503.feature.rst deleted file mode 100644 index 9c2e433242..0000000000 --- a/newsfragments/4503.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Mark abstract base classes and methods with `abc.ABC` and `abc.abstractmethod` -- by :user:`Avasam` diff --git a/newsfragments/4505.feature.rst b/newsfragments/4505.feature.rst deleted file mode 100644 index e032dd997e..0000000000 --- a/newsfragments/4505.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Changed the order of type checks in ``setuptools.command.easy_install.CommandSpec.from_param`` to support any `collections.abc.Iterable` of `str` param -- by :user:`Avasam` diff --git a/newsfragments/4534.misc.rst b/newsfragments/4534.misc.rst deleted file mode 100644 index f7c1a1d314..0000000000 --- a/newsfragments/4534.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Changed the import of ``ctypes.wintypes`` from ``__import__`` to a regular ``import`` statement -- by :user:`Avasam` diff --git a/newsfragments/4546.misc.rst b/newsfragments/4546.misc.rst deleted file mode 100644 index f056a2b379..0000000000 --- a/newsfragments/4546.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Added lower bound to test dependency on ``wheel`` (0.44.0) to avoid -small inconsistencies in ``Requires-Dist`` normalisation for ``METADATA``. diff --git a/newsfragments/4554.misc.rst b/newsfragments/4554.misc.rst deleted file mode 100644 index 9992f93441..0000000000 --- a/newsfragments/4554.misc.rst +++ /dev/null @@ -1 +0,0 @@ -Removed ``setputools.sandbox``'s Python 2 ``builtins.file`` support -- by :user:`Avasam` diff --git a/newsfragments/4559.misc.rst b/newsfragments/4559.misc.rst deleted file mode 100644 index 34b5a30664..0000000000 --- a/newsfragments/4559.misc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Prevent deprecation warning from ``pypa/wheel#631`` to accidentally -trigger when validating ``pyproject.toml``. diff --git a/newsfragments/4565.misc.rst b/newsfragments/4565.misc.rst deleted file mode 100644 index 031f8d66ca..0000000000 --- a/newsfragments/4565.misc.rst +++ /dev/null @@ -1,3 +0,0 @@ -Replace ``pip install -I`` with ``pip install --force-reinstall`` in -integration tests. Additionally, remove ``wheel`` from virtual environment as -it is no longer a build dependency. diff --git a/newsfragments/4574.removal.rst b/newsfragments/4574.removal.rst deleted file mode 100644 index 17c8f61ec1..0000000000 --- a/newsfragments/4574.removal.rst +++ /dev/null @@ -1,4 +0,0 @@ -``setuptools`` is replacing the usages of :pypi:`ordered_set` with simple -instances of ``dict[Hashable, None]``. This is done to remove the extra -dependency and it is possible because since Python 3.7, ``dict`` maintain -insertion order. diff --git a/pyproject.toml b/pyproject.toml index 89c2fe890b..c9f8e61bbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ backend-path = ["."] [project] name = "setuptools" -version = "72.2.0" +version = "73.0.0" authors = [ { name = "Python Packaging Authority", email = "distutils-sig@python.org" }, ]