MagicStack / MagicStack/uvloop
License not clear
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 11.9k
- Forks
- 616
- PR merge metrics
- No merged PRs in 30d
Description
The project defines project.license.text to be the MIT license, but the project.classifiers also outline an Apache license.
It is not clear which license applies to this project.
While addressing this issue, please take PEP 639 into consideration, which deprecates the classifiers and encourages the use of SPDX-compliant licenses. In case of uvloop, this might be project.license = "MIT OR Apache-2.0" then.
Another driver for this to be sorted out is the automated parsing of project metadata, which is currently not possible for this project, due to due unclear dual-licensing.
The current metadata reads like:
❯ pip3 -q download --no-deps uvloop
❯ unzip -qo uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
❯ grep License uvloop-0.22.1.dist-info/METADATA
License: MIT License # <-- non-SPDX compliant
Classifier: License :: OSI Approved :: Apache Software License # deprecated
Classifier: License :: OSI Approved :: MIT License # deprecated
License-File: LICENSE-APACHE
License-File: LICENSE-MIT
License
Ideally, the license(es) can be found in the project's metadata as follows:
License: MIT OR Apache-2.0
References:
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the project's packaging metadata and compare its license fields with PEP 639 and the referenced SPDX guidance. Confirm whether the project uses MIT, Apache-2.0, or both, then make the generated metadata express the chosen SPDX license and verify that the deprecated classifiers no longer create ambiguity.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100