Skip to content

google-cloud-maintenance-api: lint failures #16815

@jskeet

Description

@jskeet

google-cloud-maintenance-api has failed the lint check with this error:

2026-04-27T10:05:42.4657842Z nox > Running session lint_setup_py
2026-04-27T10:05:42.4665797Z nox > Creating virtual environment (virtualenv) using python3.14 in .nox/lint_setup_py
2026-04-27T10:05:42.7258009Z nox > python -m pip install setuptools docutils pygments
2026-04-27T10:05:46.3387421Z nox > python setup.py check --restructuredtext --strict
2026-04-27T10:05:46.4781968Z /home/runner/work/google-cloud-python/google-cloud-python/packages/google-cloud-maintenance-api/.nox/lint_setup_py/lib/python3.14/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated.
2026-04-27T10:05:46.4783618Z !!
2026-04-27T10:05:46.4783751Z 
2026-04-27T10:05:46.4783931Z         ********************************************************************************
2026-04-27T10:05:46.4784643Z         Please consider removing the following classifiers in favor of a SPDX license expression:
2026-04-27T10:05:46.4785193Z 
2026-04-27T10:05:46.4785399Z         License :: OSI Approved :: Apache Software License
2026-04-27T10:05:46.4785712Z 
2026-04-27T10:05:46.4786148Z         See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
2026-04-27T10:05:46.4786876Z         ********************************************************************************
2026-04-27T10:05:46.4787198Z 
2026-04-27T10:05:46.4787290Z !!
2026-04-27T10:05:46.4787536Z   self._finalize_license_expression()
2026-04-27T10:05:46.5044055Z running check
2026-04-27T10:05:46.5701951Z warning: check: Duplicate explicit target name: "maintenance".
2026-04-27T10:05:46.5702387Z 
2026-04-27T10:05:46.5702535Z error: Please correct your package.
2026-04-27T10:05:46.6051278Z nox > Command python setup.py check --restructuredtext --strict failed with exit code 1
2026-04-27T10:05:46.6052286Z nox > Session lint_setup_py failed.

Rerunning to see if it's transient

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