Skip to content

Commit b9fafc4

Browse files
maresblucianopaz
authored andcommitted
Update pyproject license schema according to deprecation warnings
* Building wheel... /tmp/build-env-vi5sasbz/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** 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 2026-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. ******************************************************************************** !! corresp(dist, value, root_dir) /tmp/build-env-vi5sasbz/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: BSD License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ********************************************************************************
1 parent 0c398e3 commit b9fafc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ requires-python = ">=3.10,<3.14"
1414
authors = [{ name = "pymc-devs", email = "[email protected]" }]
1515
description = "Optimizing compiler for evaluating mathematical expressions on CPUs and GPUs."
1616
readme = "README.rst"
17-
license = { file = "LICENSE.txt" }
17+
license = "BSD-3-Clause"
18+
license-files = ["LICENSE.txt"]
1819
classifiers = [
1920
"Development Status :: 6 - Mature",
2021
"Intended Audience :: Education",
2122
"Intended Audience :: Science/Research",
2223
"Intended Audience :: Developers",
23-
"License :: OSI Approved :: BSD License",
2424
"Programming Language :: Python",
2525
"Topic :: Software Development :: Code Generators",
2626
"Topic :: Software Development :: Compilers",

0 commit comments

Comments
 (0)