FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use License Expressions in pyproject.toml by csmarchbanks · Pull Request #1111 · prometheus/client_python · GitHub

Use License Expressions in pyproject.toml - #1111

Merged
csmarchbanks merged 1 commit into
masterfrom
pep-639
Jun 2, 2025
Merged

Use License Expressions in pyproject.toml#1111
csmarchbanks merged 1 commit into
masterfrom
pep-639

Conversation

csmarchbanks commented May 29, 2025
edited
Loading

Copy link
Copy Markdown
Member

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 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>
Comment thread pyproject.toml
description = "Python client for the Prometheus monitoring system."
readme = "README.md"
license = { file = "LICENSE" }
license = "Apache-2.0 AND BSD-2-Clause"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL