← All tasks
pythonaio-libs/aiohappyeyeballs #130Not a task: already works

License displayed in PyPI contains incorrect information

envgap__aio-libs__aiohappyeyeballs-130

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
850640e0f79eb38c4eda33115416d91790fea734
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

aio-libs/aiohappyeyeballs #130 · read the original issue
**Describe the bug**  
Hello maintainers,

We've discovered a problem with the metadata for this library. [Nexus IQ](https://www.sonatype.com/products/intelligence) is reporting the library as having an Other/**Proprietary** license. They are pulling the data directly from PyPI.  
This is incorrect, but is due to Poetry automatically generating additional classifiers for the library. Since PSF-2.0 is not officially recognized as an OSI-approved license, Poetry uses the default license classification that comes with the license you included. 

As a result, this leads to compliance issues, especially for those working in enterprise environments where licensing is a big issue. Fortunately, this is easily remedied.

If we move the `classifiers` key to the `[project]` section, the problem is solved because Poetry does not generate additional classifiers and the license is recognized. This behavior is documented in the [Poetry documentation](https://python-poetry.org/docs/pyproject/#classifiers).

Let me know what you think. I'll create a pull request if we can agree on a solution.

**To Reproduce**  
Visit [https://pypi.org/project/aiohappyeyeballs/](https://pypi.org/project/aiohappyeyeballs/) and check the license section.

**Additional context**  
You can verify the license status through the SPDX repository:  
[https://github.com/spdx/license-list-data/blob/main/json/licenses.json](https://github.com/spdx/license-list-data/blob/main/json/licenses.json)
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]