Skip to content

fix license string#3

Open
s-sajid-ali wants to merge 1 commit into
coldfront:devfrom
NYU-RTS:fix-license
Open

fix license string#3
s-sajid-ali wants to merge 1 commit into
coldfront:devfrom
NYU-RTS:fix-license

Conversation

@s-sajid-ali
Copy link
Copy Markdown

To prevent this error when including this package as a dependency for the coldfront plugin:

  × Failed to build `slurm-python-sdk @ git+https://github.com/coldfront/slurm-python-sdk.git`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)

      [stdout]
      configuration error: `project.license` must be valid exactly by one definition (0 matches found):

          - {type: string, format: 'SPDX'}
          - type: table
            keys:
              'file': {type: string}
            required: ['file']
          - type: table
            keys:
              'text': {type: string}
            required: ['text']

      DESCRIPTION:
          `Project license <https://peps.python.org/pep-0621/#license>`_.

      GIVEN VALUE:
          "Apache 2.0"

      OFFENDING RULE: 'oneOf'
...
...
...

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.

1 participant