-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Sorry for the inception inspired title. The point is, I am not sure if this is a bug in the pyp2spec tool or if the pyp2spec tool is incorrectly packaged. Either way, this is what I get:
$ pyp2spec pyp2spec
$ rpmbuild -bs python-pyp2spec.spec
$ mock ~/rpmbuild/SRPMS/python-pyp2spec-0.13.0-1.fc42.src.rpm
...
File "/usr/lib/python3.13/site-packages/setuptools/config/pyprojecttoml.py", line 57, 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']
error: Bad exit status from /var/tmp/rpm-tmp.qmiuyW (%generate_buildrequires)
Bad exit status from /var/tmp/rpm-tmp.qmiuyW (%generate_buildrequires)
I discovered this when running tests before doing a new Copr release.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels