-
Notifications
You must be signed in to change notification settings - Fork 445
Closed
Description
Version 2.2.8 of mysqlclient seems to have a bug in its packaging configuration file (pyproject.toml) that causes it to fail when building on our system
this is the error log we get during the build process
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']
...
OFFENDING RULE: 'oneOf'
DEFINITION:
{
"oneOf": [
{
"properties": {
"file": {
"type": "string",
"$$description": [
"Relative path to the file (UTF-8) which contains the license for the",
"project."
]
}
},
"required": [
"file"
]
...
× Encountered error while generating package metadata.
╰─> mysqlclient
I am unfamiliar with this error, but downgrading to version 2.2.7 fixed the issue. I am wondering what caused this, or if it it something that happened only on our system. Anyone else getting this?
We are using python 3.11 which seems to be fine according to the requirements: Requires: Python >=3.10
added seed packages: pip==23.0.1, setuptools==66.1.1, wheel==0.38.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels