Skip to content

Conversation

@amrothemich
Copy link
Contributor

Switched pyproject license to dictionary type to address:

Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [95 lines of output]
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']

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

GIVEN VALUE:
"Apache-2.0"

OFFENDING RULE: 'oneOf'

which was preventing installation via pip install git+https://github.com/unslothai/unsloth.git

Switched pyproject license to dictionary type
@amrothemich
Copy link
Contributor Author

@danielhanchen This part is ready now, thanks!

@danielhanchen
Copy link
Contributor

Thanks!

@danielhanchen danielhanchen merged commit 9a4ca12 into unslothai:main Jun 21, 2025
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