You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: replace deprecated license classifier with SPDX expression (IN-1.6) #19
Building the package prints License classifiers are deprecated.pyproject.toml still declares the license with the classifier License :: OSI Approved :: BSD License.
Proposed solution
In pyproject.toml:
Add license = "BSD-3-Clause" and license-files = ["LICENSE.rst"] under [project].
Remove the License :: OSI Approved :: BSD License classifier.
Change the build requirement setuptools>=62.0 to setuptools>=77.0, which supports the SPDX license expression.
Done when
python -m build shows no license deprecation warning
twine check dist/* passes
The wheel metadata shows License-Expression: BSD-3-Clause
Activity