From c5f92385cc645368a0cb3e00accd6a1e318514a0 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 2 Sep 2024 09:13:27 -0400 Subject: [PATCH] unpin setuptools This removes the pin that was placed in 2607262110bdc5c5dc96fc19ddca895a15a58e4e The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been removed. This pin was to prevent a sudden change to :pep:`625` in setuptools from taking place which changes the file name of SQLAlchemy's source distribution on pypi to be an all lower case name, which is very likely to cause problems with various build environments that expected a particular naming style. However, the presence of this pin is now holding back environments that otherwise want to use a newer setuptools, so we've decided to move forward with this change, with the assumption that build environments will have largely accommodated the setuptools change by now. References: #11818 Change-Id: I0cd9ab0512004669a8f0aa0cb7f560d89a2da2bd --- doc/build/changelog/unreleased_20/11818.rst | 16 ++++++++++++++++ pyproject.toml | 4 +--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 doc/build/changelog/unreleased_20/11818.rst diff --git a/doc/build/changelog/unreleased_20/11818.rst b/doc/build/changelog/unreleased_20/11818.rst new file mode 100644 index 0000000000..c75a6c64b6 --- /dev/null +++ b/doc/build/changelog/unreleased_20/11818.rst @@ -0,0 +1,16 @@ +.. change:: + :tags: change, general + :tickets: 11818 + + The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been + removed. This pin was to prevent a sudden change to :pep:`625` in + setuptools from taking place which changes the file name of SQLAlchemy's + source distribution on pypi to be an all lower case name, which is very + likely to cause problems with various build environments that expected a + particular naming style. However, the presence of this pin is now holding + back environments that otherwise want to use a newer setuptools, so we've + decided to move forward with this change, with the assumption that build + environments will have largely accommodated the setuptools change by + now. + + diff --git a/pyproject.toml b/pyproject.toml index 075254645d..bcbf8599dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,7 @@ [build-system] build-backend = "setuptools.build_meta" requires = [ - # avoid moving to https://github.com/pypa/setuptools/issues/3593 - # until we're ready - "setuptools>=61.0,<69.3", + "setuptools>=61.0", "cython>=3; platform_python_implementation == 'CPython'", # Skip cython when using pypy ] -- 2.47.2