[Bug 1178257] New: rpm-build-python needs setuptools but cannot require on it
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257 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: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |1186870
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugzilla.suse.com/s
| |how_bug.cgi?id=1186870
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c3
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steven.kowalik@suse.com
--- Comment #3 from Benjamin Greiner
---
Meanwhile upstream rpm outsourced pythondistdeps.sh to
https://github.com/rpm-software-management/python-rpm-packaging for the
upcoming rpm 3.17
Looks like the StevenK made some significant changes directly affecting this
bug.
https://github.com/rpm-software-management/python-rpm-packaging/commit/706ff...
Adding him to the bug CC list.
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c4
--- Comment #4 from Steve Kowalik
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c5
--- Comment #5 from Benjamin Greiner ---
https://build.opensuse.org/request/show/989103
Takes this onto the next level.
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gmbr3@opensuse.org,
| |mcepl@suse.com
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ngompa13@gmail.com
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c7
--- Comment #7 from Benjamin Greiner ---
https://build.opensuse.org/request/show/989169
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c8
--- Comment #8 from OBSbugzilla Bot
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c9
--- Comment #9 from Benjamin Greiner ---
With https://build.opensuse.org/request/show/989212,
https://build.opensuse.org/request/show/989210, and
https://build.opensuse.org/request/show/989209
python-packaging python-pyparsing and python-flit-core only depend on each
other and python-base (when doing --without test)
This would make them together with python-rpm-packaging suitable for ring0 and
python-rpm-packaging can depend on python3-packaging
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c10
Dominique Leuenberger
python-packaging python-pyparsing and python-flit-core only depend on each other and python-base (when doing --without test)
This would make them together with python-rpm-packaging suitable for ring0 and python-rpm-packaging can depend on python3-packaging
Not with single spec - that would imply each and every python interpreter in ring0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c11
--- Comment #11 from Benjamin Greiner ---
I see. But we only need python3-packaging for pythondistdeps.py in ring0 then,
right?
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c12
--- Comment #12 from Benjamin Greiner ---
https://build.opensuse.org/request/show/989272
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c13
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|mls@suse.com |code@bnavigator.de
Summary|rpm-build-python needs |rpm-build-python's /
|setuptools but cannot |python-rpm-packaging's
|require on it |pythondistdeps.poy requires
| |python3-packaging
--- Comment #13 from Benjamin Greiner
---
rpm-build-python: https://build.opensuse.org/request/show/989432
python-rpm-packaging: https://build.opensuse.org/request/show/989170
flit-core: https://build.opensuse.org/request/show/989426
python-pyparsing: https://build.opensuse.org/request/show/989434
python-packaging: https://build.opensuse.org/request/show/989435
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |IN_PROGRESS
Summary|rpm-build-python's / |rpm-build-python's /
|python-rpm-packaging's |python-rpm-packaging's
|pythondistdeps.poy requires |pythondistdeps.py requires
|python3-packaging |python3-packaging
--
You are receiving this mail because:
You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257
http://bugzilla.opensuse.org/show_bug.cgi?id=1178257#c14
Benjamin Greiner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|IN_PROGRESS |RESOLVED
Resolution|--- |FIXED
--- Comment #14 from Benjamin Greiner
---
python-rpm-packaging is now able to pull in python3-packaging by default and
all possible build cycles are dealt with in Ring1
--
You are receiving this mail because:
You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com