You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Possible License conflict (?) with setuptools during build on 2.2.8 #778
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
changed the title [-]Possible License conflict (?) with setuptools during build[/-][+]Possible License conflict (?) with setuptools during build on 2.2.8[/+]on Feb 10, 2026
is it possible that the version of setuptools caused this?
Please use a simple string containing a SPDX expression for project.license. You can also use project.license-files. (Both options available on setuptools>=77.0.0).
Activity
[-]Possible License conflict (?) with setuptools during build[/-][+]Possible License conflict (?) with setuptools during build on 2.2.8[/+]dschmide commentedon Feb 10, 2026
maybe this is related?
11752de
#772
is it possible that the version of setuptools caused this?