]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
favor setuptools imports over distutils
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Nov 2021 20:06:06 +0000 (15:06 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Nov 2021 22:52:47 +0000 (17:52 -0500)
commite6c02c33728a581e0df910caa8d96b6e114c114d
tree17cdc80382460cf02da36710d82a83a7c553b1bd
parent6206f0ff74e95c9339dc0f0e26caab55e9bcda45
favor setuptools imports over distutils

Python 3.10 has deprecated "distutils" in favor of explicit use of
"setuptools" in :pep:`632`; SQLAlchemy's setup.py has replaced imports
accordingly. However, since setuptools itself only recently added the
replacement symbols mentioned in pep-632 as of November of 2022 in version
59.0.1, ``setup.py`` still has fallback imports to distutils, as SQLAlchemy
1.4 does not have a hard setuptools versioning requirement at this time.
SQLAlchemy 2.0 is expected to use a full :pep:`517` installation layout
which will indicate appropriate setuptools versioning up front.

Fixes: #7311
Change-Id: I215ef3c3b226a38266f59d181214aea462c4664d
doc/build/changelog/unreleased_14/7311.rst [new file with mode: 0644]
setup.py