Skip to content

Conversation

@davetapley
Copy link
Contributor

Per:
https://packaging.python.org/en/latest/guides/licensing-examples-and-user-scenarios

For:
https://pypi.org/project/licensecheck/
which currently shows:
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━
┃ Compatible ┃ Package                   ┃ License
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━
│
│ ✖          │ dataretrieval             │ LICENSE

DOI-USGS#185
Copy link
Collaborator

@ehinman ehinman left a comment

Choose a reason for hiding this comment

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

I think this looks fine besides the question of whether ".md" is needed. The other question is why the python 3.8 build tests are failing with the following error:

 ValueError: invalid pyproject.toml config: `project.license`.
      configuration error: `project.license` must be valid exactly by one definition (2 matches found):
      
          - keys:
              'file': {type: string}
            required: ['file']
          - keys:
              'text': {type: string}
            required: ['text']
      
      [end of output]

I will note that we removed testing of 3.8 in a recent PR. Would you mind pulling in the most recent changes to main and testing again?

requires-python = ">=3.8"
keywords = ["USGS", "water data"]
license = {file = "LICENSE.md"}
license = "CC0-1.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

keywords = ["USGS", "water data"]
license = {file = "LICENSE.md"}
license = "CC0-1.0"
license-files = ["LICENSE.md"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure this needs the ".md"?

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