Skip to content

Replace deprecated setuptools options#503

Merged
llucax merged 3 commits intofrequenz-floss:v0.x.xfrom
llucax:setuptools-deprecations
Feb 3, 2026
Merged

Replace deprecated setuptools options#503
llucax merged 3 commits intofrequenz-floss:v0.x.xfrom
llucax:setuptools-deprecations

Conversation

@llucax
Copy link
Contributor

@llucax llucax commented Feb 2, 2026

Switch cookiecutter license to SPDX expressions, add license-files, and remove deprecated classifiers.

Fixes #502.

We will use new options supported by setuptools 77 or older, so we
should make sure new projects use a more recent version.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Switch cookiecutter license to SPDX expressions, add license-files, and
remove deprecated classifiers.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
Switch `project.license` to an SPDX expression and add `license-files`
in the repository `pyproject.tmol` to avoid setuptools license
deprecations.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax requested a review from a team as a code owner February 2, 2026 17:04
@llucax llucax requested review from daniel-zullo-frequenz and removed request for a team February 2, 2026 17:04
@github-actions github-actions bot added the part:template Affects the cookiecutter template files label Feb 2, 2026
@llucax llucax self-assigned this Feb 2, 2026
@llucax llucax added part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:bug Something isn't working labels Feb 2, 2026
@llucax llucax enabled auto-merge February 2, 2026 17:05
@llucax llucax added this pull request to the merge queue Feb 3, 2026
Merged via the queue into frequenz-floss:v0.x.x with commit fe49b18 Feb 3, 2026
8 checks passed
@llucax llucax deleted the setuptools-deprecations branch February 3, 2026 09:16
@llucax llucax linked an issue Mar 3, 2026 that may be closed by this pull request
2 tasks
@llucax llucax modified the milestone: v0.15.0 Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:template Affects the cookiecutter template files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated setuptools some entries in pyproject.toml project.license as a TOML table / license classifiers are deprecated

2 participants