Merged 4 weeks agoNovember 11, 2025
Related#2451This pull request updates the project's license declaration in pyproject.toml to use an SPDX expression and refines build system metadata.
What was done
- Migrated the
project.licensefield inpyproject.tomlfrom a dictionary withtext = "Apache 2.0"to a direct SPDX expression string"Apache-2.0". - Added a
license-files = ["LICENSE"]entry under the[project]table inpyproject.toml. - Removed the
license-files = ["LICENSE"]entry from the[tool.setuptools]table to consolidate license file declaration. - Updated the minimum required version for
setuptoolsinbuild-system.requiresfrom>=61to>=77.0.3. - Removed the redundant classifier
License :: OSI Approved :: Apache Software Licensefrom the project's classifiers.
Impact
- Improves compliance and standardization of license declaration using the SPDX format.
- Ensures the build system uses a more recent and potentially more robust version of
setuptools. - No direct user-facing changes or impact on runtime behavior.
- Simplifies project metadata by consolidating and removing redundant license declarations.
Technical details
- The
pyproject.tomlfile was modified extensively to update project metadata. - The
project.licensefield now uses the SPDX short identifier "Apache-2.0". - The
license-filesfield was moved to the[project]table, aligning with modern Python packaging standards. - The
build-system.requireslist was updated to enforcesetuptools>=77.0.3. - A superfluous license classifier was removed as the SPDX identifier is now the primary source for license information.
Related issues
Metadata
- Source: github
- Repo: falconry/falcon
- URL: https://github.com/falconry/falcon/pull/2452
- Merged: 2025-11-11T20:33:23Z