From 9d6e212b77c8ce5ea1164b6d67f2ba491beba413 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Mon, 2 Sep 2024 11:33:26 -0400 Subject: [PATCH] unpin setuptools 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 --- docs/build/unreleased/unpin_setuptools.rst | 15 +++++++++++++++ pyproject.toml | 4 +--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 docs/build/unreleased/unpin_setuptools.rst diff --git a/docs/build/unreleased/unpin_setuptools.rst b/docs/build/unreleased/unpin_setuptools.rst new file mode 100644 index 00000000..a0e0766f --- /dev/null +++ b/docs/build/unreleased/unpin_setuptools.rst @@ -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. + + + diff --git a/pyproject.toml b/pyproject.toml index 628e6761..2d2edede 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", ] [tool.black]