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

Accept License-Expression in metadata (PEP 639) #108

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

abompard
Copy link
Contributor

PEP 639 adds the License-Expression header. This commit adds support for it in the metadata parser.

Twisted 23.8.0 has already replaced the Licence header with License-Expression and thus is read as an UNKNOWN license.

[PEP 639](https://peps.python.org/pep-0639/) adds the
`License-Expression` header. This commit adds support for it in the
metadata parser.

Twisted 23.8.0 has already replaced the `Licence` header with
`License-Expression` and thus is read as an `UNKNOWN` license.

Signed-off-by: Aurélien Bompard <[email protected]>
abompard added a commit to fedora-infra/noggin that referenced this pull request Sep 21, 2023
abompard added a commit to fedora-infra/datanommer that referenced this pull request Sep 22, 2023
@ochedru ochedru merged commit a079154 into dhatim:master Sep 22, 2023
descope bot referenced this pull request in descope/django-descope Aug 18, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [liccheck](https://togithub.com/dhatim/python-license-check) | dev |
patch | `0.9.1` -> `0.9.2` |

---

### Release Notes

<details>
<summary>dhatim/python-license-check (liccheck)</summary>

###
[`v0.9.2`](https://togithub.com/dhatim/python-license-check/releases/tag/0.9.2)

[Compare
Source](https://togithub.com/dhatim/python-license-check/compare/0.9.1...0.9.2)

#### What's Changed

- Drop support for Python 2 by
[@&#8203;abompard](https://togithub.com/abompard) in
[https://github.com/dhatim/python-license-check/pull/109](https://togithub.com/dhatim/python-license-check/pull/109)
- Strip return carriages before running `.endswith()` by
[@&#8203;abompard](https://togithub.com/abompard) in
[https://github.com/dhatim/python-license-check/pull/110](https://togithub.com/dhatim/python-license-check/pull/110)
- chore(deps): update actions/checkout action to v4 by
[@&#8203;renovate](https://togithub.com/renovate) in
[https://github.com/dhatim/python-license-check/pull/106](https://togithub.com/dhatim/python-license-check/pull/106)
- Accept `License-Expression` in metadata (PEP 639) by
[@&#8203;abompard](https://togithub.com/abompard) in
[https://github.com/dhatim/python-license-check/pull/108](https://togithub.com/dhatim/python-license-check/pull/108)
- No longer build for Python 3.5 by
[@&#8203;ochedru](https://togithub.com/ochedru) in
[https://github.com/dhatim/python-license-check/pull/112](https://togithub.com/dhatim/python-license-check/pull/112)

**Full Changelog**:
dhatim/python-license-check@0.9.1...0.9.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42NC4yIiwidXBkYXRlZEluVmVyIjoiMzcuMTcwLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: descope[bot] <107609351+descope[bot]@users.noreply.github.com>
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