https://bugzilla.redhat.com/show_bug.cgi?id=2151315
--- Comment #6 from Jonny Heggheim <hegjon(a)gmail.com> ---
(In reply to Vitaly Zaitsev from comment #5)
> BuildRequires: python3dist(jinja2)
> BuildRequires: python3dist(pyyaml)
No longer required. %pyproject_buildrequires will discover everything
automatically.
Without them I am getting this error, not sure if it is upstream that are using
some bad practice or if it is a bug in the rpm build system?
It might be related to comments in this issue
https://github.com/avibrazil/autorsync/issues/1
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py
--generate-extras --python3_pkgversion 3 --wheeldir
/builddir/build/BUILD/auto_remote_sync-1.0.5/pyproject-wheeldir
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
(installed: setuptools 59.6.0)
Handling wheel from default build backend
Requirement satisfied: wheel
(installed: wheel 0.37.1)
Traceback (most recent call last):
File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 501, in main
generate_requires(
File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 415, in
generate_requires
generate_build_requirements(backend, requirements)
File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 265, in
generate_build_requirements
new_reqs = get_requires()
File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 162,
in get_requires_for_build_wheel
return self._get_build_requires(
File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 143,
in _get_build_requires
self.run_setup()
File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 267,
in run_setup
super(_BuildMetaLegacyBackend,
File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 158,
in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 5, in <module>
from autorsync import __version__
File "/builddir/build/BUILD/auto_remote_sync-1.0.5/autorsync/__init__.py",
line 9, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
error: Bad exit status from /var/tmp/rpm-tmp.wHpst0 (%generate_buildrequires)
Bad exit status from /var/tmp/rpm-tmp.wHpst0 (%generate_buildrequires)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2151315