Bug ID 1178257
Summary rpm-build-python needs setuptools but cannot require on it
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS openSUSE Tumbleweed
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee screening-team-bugs@suse.de
Reporter code@bnavigator.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Some packages can build without python-setuptools and thus do not depend on it.
In this case /usr/lib/rpm/pythondistdeps.py fails in rpm packaging phase:

[   17s] Traceback (most recent call last):
[   17s]   File "/usr/lib/rpm/pythondistdeps.py", line 105, in <module>
[   17s]     from pkg_resources import Distribution, FileMetadata,
PathMetadata, Requirement
[   17s] ModuleNotFoundError: No module named 'pkg_resources'

But rpm-build-python depending on python-setuptools is not possible, because
that would create a dependency loop with setuptools and its build dependencies
(python-ordered-set)


You are receiving this mail because: