Skip to content

Commit 36ebd0f

Browse files
authored
Fix: fix setuptools deprecation warning (#589)
Use the SPDX expression for license classifier and remove the now deprecated TOML table license according to this warning in the CI jobs: Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2027-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. and: dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !!
1 parent f11a1da commit 36ebd0f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name = "GeoAlchemy2"
1111
dynamic = ["version"]
1212
description = "Using SQLAlchemy with Spatial Databases"
1313
readme = "README.rst"
14-
license = {text = "MIT"}
14+
license = "MIT"
1515
requires-python = ">=3.10"
1616
authors = [
1717
{name = "Eric Lemoine", email = "eric.lemoine@gmail.com"},
@@ -28,7 +28,6 @@ classifiers = [
2828
"Programming Language :: Python :: 3.12",
2929
"Programming Language :: Python :: 3.13",
3030
"Intended Audience :: Information Technology",
31-
"License :: OSI Approved :: MIT License",
3231
"Topic :: Scientific/Engineering :: GIS",
3332
]
3433
dependencies = [

0 commit comments

Comments
 (0)