Skip to content

build: replace deprecated license classifier with SPDX expression (IN-1.6) #19

In review

Description

@Akadib

Problem

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:

  1. Add license = "BSD-3-Clause" and license-files = ["LICENSE.rst"] under [project].
  2. Remove the License :: OSI Approved :: BSD License classifier.
  3. 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

  1. added theissue type on Dec 1, 2026
  2. added
    enhancement
    on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions