From: Mike Bayer Date: Mon, 2 Sep 2024 13:13:27 +0000 (-0400) Subject: unpin setuptools X-Git-Tag: rel_2_0_33~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf82be60f811ed6bdc1a8c4221148d97dd6b704d;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git 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 (cherry picked from commit 2b1149e335cb838b31356b6aa33eeb41bfc9a0d1) --- 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 0f53594dfa..f75bf31924 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>=0.29.24; platform_python_implementation == 'CPython'", # Skip cython when using pypy ]