Skip to content

The Unlicense not recognized as a license #6689

Closed
python-poetry/poetry-core
#489

Description

@zahlman
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below. (not applicable)

Issue

When I upload a package with the pyproject.toml linked above, the license is not properly identified.

Per https://spdx.org/licenses/, Unlicense is the identifier for The Unlicense, which is an OSI-approved (and FSF Free/Libre) license. My understanding from the Poetry documentation is that any SPDX identifier should work, and that a trove classifier should be generated for any license that has a corresponding classifier (which this one does).

Expected: on the corresponding PyPI project page, the License should be described as an OSI approved license, and the trove classifiers should include License :: OSI Approved :: The Unlicense (Unlicense).

Actual: no trove classifier is added for the license, and the meta section of the page states

License: Other/Proprietary License (Unlicense)

Activity

  1. added
    kind/bugSomething isn't working as expected
    status/triageThis issue needs to be triaged
    on Oct 3, 2022
  2. added
    area/coreRelated to the poetry-core library
    kind/enhancementNot a bug or feature, but improves usability or performance
    status/confirmedIssue is reproduced and confirmed
    and removed
    kind/bugSomething isn't working as expected
    status/triageThis issue needs to be triaged
    on Oct 3, 2022
  3. neersighted commented on Oct 3, 2022

    @neersighted
    Member

    The Unlicense was not OSI approved when Poetry last synced the SPDX database. A re-sync of https://github.com/python-poetry/poetry-core/tree/main/src/poetry/core/spdx (there is tooling present to automate this) plus adding the classifier to license.py is fairly trivial and will resolve this.

  4. colindean commented on Oct 4, 2022

    @colindean
    Contributor

    I noted while searching for something similar that this seems to be handled in python-poetry/poetry-core#489

  5. pmav99 commented on Apr 26, 2023

    @pmav99
    Contributor

    on 1.4.2 this seems to have been fixed

  6. stokito commented on Apr 26, 2023

    @stokito

    The Unlicense has some problems and you better to switch to some other well known license https://en.wikipedia.org/wiki/Unlicense

  7. github-actions commented on Feb 29, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  8. locked as resolved and limited conversation to collaborators on Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions