Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use old license text #1050

Merged
merged 1 commit into from
Oct 10, 2024
Merged

fix: use old license text #1050

merged 1 commit into from
Oct 10, 2024

Conversation

henryiii
Copy link
Member

@henryiii henryiii commented Oct 9, 2024

Before moving to scikit-build-core, this was the contents of the License field. Putting the entire contents of the license file here breaks importlib.metadata.metadata("iminuit") (see python/cpython#119650), and isn't needed - the license file is stored in the wheel already, and the currently only canonical location for license metadata is the trove classifiers. PEP 639, which is currently provisionally accepted and waiting support in packaging, PyPI, etc, solves this by supporting SPDX license expressions. But that's not ready yet.

(This is not critical, but a minor annoyance I hit while debugging)

Before moving to scikit-build-core, this was the contents of the `License` field. Putting the entire contents of the license file here breaks `importlib.metadata.metadata`, and isn't needed - the license file is stored in the wheel already, and the currently only canonical location for license metadata is the trove classifiers. PEP 639, which is currently provisionally accepted and waiting support in packaging, PyPI, etc, solves this by supporting SPDX license expressions. But that's not ready yet.
@HDembinski HDembinski merged commit 8ac24c8 into develop Oct 10, 2024
9 checks passed
@HDembinski HDembinski deleted the henryiii-patch-1 branch October 10, 2024 08:38
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.

2 participants