]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
unpin setuptools
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Sep 2024 13:13:27 +0000 (09:13 -0400)
committerMichael Bayer <mike_mp@zzzcomputing.com>
Mon, 2 Sep 2024 15:34:37 +0000 (15:34 +0000)
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)

doc/build/changelog/unreleased_20/11818.rst [new file with mode: 0644]
pyproject.toml

diff --git a/doc/build/changelog/unreleased_20/11818.rst b/doc/build/changelog/unreleased_20/11818.rst
new file mode 100644 (file)
index 0000000..c75a6c6
--- /dev/null
@@ -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.
+
+
index 0f53594dfafb278aec3391e53a6c6e177ef9b417..f75bf319243ac67a2c3aa96177662eb7d3a05dba 100644 (file)
@@ -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
 ]