-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't workingpythonRelated to the Python build backendRelated to the Python build backend
Description
When a pyproject.toml contains:
license = { file = "LICENSE.md" }the python backend expects the filename to be a valid SPDX name. E.g.
Error: × failed to solve requirements of environment 'default' for platform 'win-64'
├─▶ × failed to extract metadata for package 'parcels'
│
╰─▶ × Failed to parse recipe
Error:
× failed to parse SPDX license: 'LICENSE.md', because: unknown term
│ See <https://spdx.org/licenses> for the list of valid licenses.
│ Use 'LicenseRef-<MyLicense>' if you are using a custom license.
[Failed to read contents for label `here` (offset: 540, length: 10): OutOfBounds]
Reproducible example:
https://github.com/baszalmstra/pixi-build-python-broken-license
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpythonRelated to the Python build backendRelated to the Python build backend