Skip to content

googleapis-common-protos defining deprecated license classifier #18235

Description

@btschwertfeger

The wheel metadata of the package do contain a license classifier which is deprecated (see PEP 639). Since the project.license.text is already SPDX-compliant, the redundant classifier can be safely removed from project.classifiers in pyproject.toml.

Reproduced via:

cd packages/googleapis-common-protos
❯ uv build .
❯ unzip -qo dist/googleapis_common_protos-1.75.2-py3-none-any.whl
❯ grep License googleapis_common_protos-1.75.2.dist-info/METADATA
License: Apache 2.0
Classifier: License :: OSI Approved :: Apache Software License # <-- this is deprecated
License-File: LICENSE

When building the package via uv build . one can also observe the deprecation warning in the logs:

********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:

License :: OSI Approved :: Apache Software License

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

********************************************************************************

I'm happy to open a PR after approval.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions