pyproject.toml: use non-deprecated license specification - #1687
Merged
Emantor merged 1 commit intoAug 26, 2026
Conversation
Bastian-Krause
force-pushed
the
bst/pyproject-license
branch
from
July 8, 2025 08:01
e2128eb to
e97065f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1687 +/- ##
======================================
Coverage 60.8% 60.8%
======================================
Files 184 184
Lines 15189 15189
======================================
Hits 9241 9241
Misses 5948 5948
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
jluebbe
reviewed
Jul 8, 2025
Bastian-Krause
marked this pull request as draft
July 8, 2025 09:42
sjg20
reviewed
Jul 23, 2025
Fixes these deprecation warnings during `python -m build`:
env/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
env/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Bastian-Krause
force-pushed
the
bst/pyproject-license
branch
from
August 26, 2026 12:06
e97065f to
297cc74
Compare
Bastian-Krause
marked this pull request as ready for review
August 26, 2026 12:07
Member
Author
|
Debian Trixie and recent Yocto versions support it. pip install will use the latest version by itself anyway. |
Emantor
approved these changes
Aug 26, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes these deprecation warnings during
python -m build:Checklist
Closes #1956