--- /dev/null
+.. 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.
+
+
[build-system]
build-backend = "setuptools.build_meta"
requires = [
- "setuptools>=61.0",
+ "setuptools>=77.0.3",
"cython>=3; platform_python_implementation == 'CPython'", # Skip cython when using pypy
]
description = "Database Abstraction Library"
readme = "README.rst"
authors = [{name = "Mike Bayer", email = "mike_mp@zzzcomputing.com"}]
-license = {text = "MIT"}
+license = "MIT"
+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",
[tool.setuptools]
include-package-data = true
-license-files = ["LICENSE"]
[tool.setuptools.packages.find]
where = ["lib"]