Resolve warnings from setuptools when installing
- Dominant language
- Python
- Stars
- 8
- Forks
- 16
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 7
Description
```
writing manifest file 'src/grid3d_maps.egg-info/SOURCES.txt'
/private/f_komodo/.cache/uv/builds-v0/.tmpcVHXTw/lib64/python3.12/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 2027-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.
********************************************************************************
!!
corresp(dist, value, root_dir)
/private/f_komodo/.cache/uv/builds-v0/.tmpcVHXTw/lib64/python3.12/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 v3 (GPLv3)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
dist._finalize_license_expression()
/private/f_komodo/.cache/uv/builds-v0/.tmpcVHXTw/lib64/python3.12/site-packages/setuptools/dist.py:765: 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 v3 (GPLv3)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
```
Contributor guide
Research direction
Start by reproducing the installation that emits the setuptools warnings, then inspect the project's pyproject TOML configuration. Update the license metadata as requested by setuptools and verify the installation completes without the deprecated license-table and classifier warnings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100