Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyproject.toml value for license key should be a table, not a string #536

Closed
DavidAntliff opened this issue May 29, 2023 · 1 comment
Closed

Comments

@DavidAntliff
Copy link

Please refer:

license = "MIT"

According to the Packaging Metadata docs, the project.license field should be a table, not a string:

E.g.

license = {text = "MIT License"}

This is currently preventing RPyC being installed with Yocto 4.1:

| 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']
| 
| ERROR: 'python3 setup.py bdist_wheel ' execution failed.
@comrumino
Copy link
Collaborator

ty resolved per your recommendation

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

No branches or pull requests

2 participants