smt icon indicating copy to clipboard operation
smt copied to clipboard

License Classifiers are deprecated

Open NAThompson opened this issue 7 months ago • 1 comments

While building SMT using uv under python3.13, the following warning is emitted:

    building 'smt.surrogate_models.rbfclib' extension
      /home/.cache/uv/builds-v0/.tmpuPj4zT/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()

This line in the setup.py should be removed, and a license = "BSD-3-Clause" should be added to the [project] section of the pyproject.toml.

Obviously quite low priority . . .

NAThompson avatar Apr 15 '25 22:04 NAThompson

Thanks for the heads up!

relf avatar Apr 17 '25 13:04 relf