| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Drop the deprecated License :: trove classifier and switch project.license from the PEP 621 table form to an SPDX string expression, silencing the setuptools >=77 deprecation warnings. Bump build-system to setuptools>=77 as required by the SPDX string form (PEP 639).
| Back | FazBrowse Home | New Git URL |
Problem
Fixes #260. Building with setuptools >=77 emits two deprecation warnings: project.license as a TOML table, and the License :: OSI Approved :: MIT License trove classifier. Both point at the PEP 639 migration. Confirmed on main HEAD 1d872d3.
Root cause
pyproject.toml uses the PEP 621 table form license = { text = "MIT" } and also lists the License :: classifier. setuptools 77.0.0 (PEP 639) deprecates both in favour of an SPDX string expression.
Fix
Metadata only; no runtime change.
How to test
Before:
After:
Full suite: 47 passed.
Backward compatibility
Build floor moves to setuptools >=77 (compatible with requires-python >= 3.9; setuptools 77 supports 3.9+). Runtime unchanged. pip build isolation already resolves >=77.
Assisted-by: Claude (code generation, reviewed and tested locally)