From ec0604322a42165014e0040128f73d79534b06d3 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 14 May 2025 08:24:44 -0400 Subject: [PATCH] use pep639 license Removed the "license classifier" from setup.cfg for SQLAlchemy 2.0, which eliminates loud deprecation warnings when building the package. SQLAlchemy 2.1 will use a full :pep:`639` configuration in pyproject.toml while SQLAlchemy 2.0 remains using ``setup.cfg`` for setup. Change-Id: If732dca7f9b57a4c6a789a68ecc77f0293be4786 (cherry picked from commit c93f50421ba5e96079cc89db80282aaaf6e09a6e) --- doc/build/changelog/unreleased_20/use_pep639.rst | 9 +++++++++ setup.cfg | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 doc/build/changelog/unreleased_20/use_pep639.rst diff --git a/doc/build/changelog/unreleased_20/use_pep639.rst b/doc/build/changelog/unreleased_20/use_pep639.rst new file mode 100644 index 0000000000..ff73d87728 --- /dev/null +++ b/doc/build/changelog/unreleased_20/use_pep639.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, installation + + Removed the "license classifier" from setup.cfg for SQLAlchemy 2.0, which + eliminates loud deprecation warnings when building the package. SQLAlchemy + 2.1 will use a full :pep:`639` configuration in pyproject.toml while + SQLAlchemy 2.0 remains using ``setup.cfg`` for setup. + + diff --git a/setup.cfg b/setup.cfg index 9b42a19a03..de35dd2e15 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,7 +12,6 @@ license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers - License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 -- 2.47.2