Skip to content

Commit

Permalink
unpin setuptools
Browse files Browse the repository at this point in the history
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, and the change was
extended to all SQLAlchemy projects to prevent any further surprises.
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.
    
Change-Id: I0cd9ab0512004669a8f0aa0cb7f560d89a2da2bd
  • Loading branch information
zzzeek committed Sep 2, 2024
1 parent 434a788 commit 9d6e212
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 15 additions & 0 deletions docs/build/unreleased/unpin_setuptools.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.. change::
:tags: change, general

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, and the change was
extended to all SQLAlchemy projects to prevent any further surprises.
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.



4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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",
]

[tool.black]
Expand Down

0 comments on commit 9d6e212

Please sign in to comment.