-
-
Couldn't load subscription status.
- Fork 2.2k
Open
Milestone
Description
Brief description
Currently the following warnings are produced:
python3 -m build
...
/tmp/build-env-p37ku9pr/lib64/python3.14/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.
********************************************************************************
!!
...
/tmp/build-env-p37ku9pr/lib64/python3.14/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 General Public License v2 (GPLv2)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
Looks like it should be fine to remove the license classifier but the "project.license as a TOML table is deprecated" warning appears to be controversial in that it can break downstream packages and things like that: pypa/setuptools#4903. It would probably make sense to wait and see: pypa/setuptools#5081.
Scapy version
Python version
Python 3.14.0rc3
Operating system
Linux 6.16.8
Additional environment information
No response
How to reproduce
python3 -m build with setuptools >= 77
Actual result
No response
Expected result
No response
Related resources
No response
Metadata
Metadata
Assignees
Labels
No labels