googleapis-common-protos defining deprecated license classifier
envgap__googleapis__google-cloud-python-18235
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
97668d8c43c31ce12de089e9b720b107a385cb3e- Manifest
packages/googleapis-common-protos/pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
googleapis/google-cloud-python #18235 · read the original issue
The wheel metadata of the package do contain a license classifier which is deprecated (see [PEP 639](https://peps.python.org/pep-0639/#deprecate-license-classifiers)). Since the `project.license.text` is already SPDX-compliant, the redundant classifier can be safely removed from `project.classifiers` in `pyproject.toml`. Reproduced via: ```bash ❯ 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: ```log ******************************************************************************** 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.
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]