Skip to content

Conversation

csmarchbanks
Copy link
Member

@csmarchbanks csmarchbanks commented May 29, 2025

With the release of PEP-639 the best practice for specifying the license is now to use a license expression in the license field and specify any license files in license-files rather than the table-based approach from PEP-621. Including the license in the classifiers is also no longer allowed when using PEP-639 and has been removed.

@csmarchbanks csmarchbanks force-pushed the pep-639 branch 2 times, most recently from 2150f8f to 7bb3bf8 Compare May 29, 2025 01:01
With the release of PEP-639 the best practice for specifying the license is now to use a license expression in the license field and specify any license files in license-files rather than the table-based approach from PEP-621. Including the license in the classifiers is also no longer allowed when using PEP-639 and has been removed. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
description = "Python client for the Prometheus monitoring system."
readme = "README.md"
license = { file = "LICENSE" }
license = "Apache-2.0 AND BSD-2-Clause"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BSD-2-Clause is from the decorators file we embed into this library.

@csmarchbanks csmarchbanks merged commit f294cbb into master Jun 2, 2025
11 checks passed
@csmarchbanks csmarchbanks deleted the pep-639 branch June 2, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant