-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
sst_cs_apps
-
ssg_core_services
-
False
-
What were you trying to do that didn't work?
Try to build an rpm package from tar.gz source of an python module.
Please provide the package NVR for which bug is seen:
pyproject-rpm-macros-1.6.2-1.el9.noarch
How reproducible:
Every time mock try to build it.
The pyproject.toml file will nor parse correctly, all tags in it are parsed as unknown.
It can reproduced without the whole rpm build chroot.
Steps to reproduce
- unpack the module tar.gz
- install the packages "pyproject-rpm-macros python3-packaging python3-toml python3-setuptools_scm"
- call "/usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /tmp/pyproject-wheeldir" from the extracted tar ball
Expected results
That the pyproject.toml file parsed correct.
Actual results
All settings in the file are reads as unknown.
Hint:
The same will work on Fedora 37+38.
On RHEL-9 via pip as an user, the module can also installed via:
pip install module.tar.gz
To make the debugging easier, I have added the module archive.