fypp icon indicating copy to clipboard operation
fypp copied to clipboard

License classifiers are deprecated.

Open e-kwsm opened this issue 7 months ago • 2 comments

setuptools 80.9.0 issues the following warning:

/usr/lib/python3.13/site-packages/setuptools/dist.py:759: 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.
        ********************************************************************************

!!
  self._finalize_license_expression()

which comes from

https://github.com/aradi/fypp/blob/6ab5088f8bb90e9aeb8002a4609fd49965a754a0/setup.py#L34

https://github.com/aradi/fypp/blob/6ab5088f8bb90e9aeb8002a4609fd49965a754a0/setup.py#L24

has already license, but technically it should be BSD-2-Clause for compliance with SPDX. https://github.com/aradi/fypp/blob/6ab5088f8bb90e9aeb8002a4609fd49965a754a0/LICENSE.txt

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license

e-kwsm avatar Jun 20 '25 07:06 e-kwsm

You're right, thanks. #50 should fix that. Could you give it a check?

aradi avatar Jun 20 '25 16:06 aradi

Thank you, that fixes the issue.

e-kwsm avatar Jun 20 '25 18:06 e-kwsm