/var/tmp/portage/dev-python/rpyc-5.2.3/work/rpyc-5.2.3 ...Compiling source in
Hello *,
I'm trying to bump dev-python/rpyc to 5.2.3, and I get
Compiling source in
/var/tmp/portage/dev-python/rpyc-5.2.3/work/rpyc-5.2.3 ...
* python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 -c from setuptools import setup; setup() build -j 6
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://www.python.org/dev/peps/pep-0621/#license>`_.
GIVEN VALUE:
"MIT"
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"
]
},
{
"properties": {
"text": {
"type": "string",
"$$description": [
"The license of the project whose meaning is
that of the",
"`License field from the core metadata", "<https://packaging.python.org/specifications/core-metadata/#license>`_."
]
}
},
"required": [
"text"
]
}
]
}
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.9/site-packages/setuptools/init.py", line 87,
in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.9/distutils/core.py", line 121, in setup dist.parse_config_files()
File "/usr/lib/python3.9/site-packages/setuptools/dist.py", line 868, in parse_config_files
pyprojecttoml.apply_configuration(self, filename,
ignore_option_errors)
File
"/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py",
line 62, in apply_configuration
config = read_configuration(filepath, True, ignore_option_errors,
dist)
File
"/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py",
line 126, in read_configuration
validate(subset, filepath)
File
"/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py",
line 51, in validate
raise ValueError(f"{error}\n{summary}") from None
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']
Any idea what has gone wrong? By googling I've found https://github.com/vanheeringen-lab/seq2science/issues/851 https://bytemeta.vip/repo/jdtuck/fdasrsf_python/issues/23
which seem similar.
Thanks in advance,
Andrey
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 407 |
Nodes: | 16 (2 / 14) |
Uptime: | 15:37:15 |
Calls: | 8,555 |
Calls today: | 7 |
Files: | 13,219 |
Messages: | 5,925,786 |