Skip to content

Use SPDX license identifier #289

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

Merged
merged 3 commits into from
Mar 26, 2025
Merged

Use SPDX license identifier #289

merged 3 commits into from
Mar 26, 2025

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Mar 23, 2025

PEP 639 added support for SPDX license identifier.
https://spdx.org/licenses/MPL-2.0.html

Metadata diff

 ...
-License: Mozilla Public License 2.0 (MPL 2.0)
+License-Expression: MPL-2.0
 ...
-Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
 ...
 License-File: LICENSE
 ...

@icemac
Copy link
Contributor

icemac commented Mar 24, 2025

I like the change but I think it is a bit too early to require setuptools >= 77. I think it is to mature a bit more and needs more uptake.

@cdce8p
Copy link
Contributor Author

cdce8p commented Mar 24, 2025

I like the change but I think it is a bit too early to require setuptools >= 77. I think it is to mature a bit more and needs more uptake.

Are there any specifics you'd like to see from setuptools before adopting it or just that it's too new of a version. Unfortunately, v77 is the first release that fully supports license expressions with the "new" syntax.

An alternative would be to re-use license.text with the SPDX identifier for the time being.

Copy link
Contributor

@icemac icemac left a comment

Choose a reason for hiding this comment

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

Looks reasonable.

@icemac icemac enabled auto-merge (squash) March 26, 2025 07:54
@icemac icemac merged commit 3064a77 into pytest-dev:master Mar 26, 2025
42 checks passed
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