[Bug 1077230] New: python3: build python3-xml as part of python3-base

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 Bug ID: 1077230 Summary: python3: build python3-xml as part of python3-base Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- With the python2 packages, python-xml (aka python2-xml) was built as part of python-base. With python3, this is part of the 'full' python3 package. This, in turn, results in a build cycle like shown in the attached image Is it possible to produce python3-xml as part (embedded, I don't mind) of python3-base (without moving the cycle to bython3-base) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c1 --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> --- Created attachment 757276 --> http://bugzilla.opensuse.org/attachment.cgi?id=757276&action=edit The cycle with python3 in the middle -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |jmatejek@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c2 --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> --- Part of the issue is glib2-devel requiring python3-xml, but that dep is real for many of the devel scripts used -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c3 --- Comment #3 from Jan Matejek <jmatejek@suse.com> --- the reason python3-xml is part of the full package is the requirement for libexpat-devel. (we're keeping deps for the -base subpackage to a minimum) Python2 historically couldn't use system expat and uses its bundled copy, so we can build it in-tree. This is not true as of 2.7 apparently, but we never switched. But with Python 3, we've been using system expat from the very start. If it's safe to move libexpat-devel to the dependencies of python3-base, we can do the switch. We can also still use the in-tree copy of expat, but i'd prefer to avoid that if possible, because expat is expat. (As a matter of fact, the dependency on X is now probably the main, if not the only, reason to keep the packages separate. We already require openssl in the base package. If we could add expat, sqlite and readline, the full package would be empty. I've been planning to do this actually; unify python3 and python3-base, and keep only the heavy parts (that is, (g)dbm and tk integration) in a python3-extras spec. But I'll have to pass that on to my successor.) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c4 --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- I verified, libexpat-devel should be cheap enough to be buildrequired by python3-base The changed build tree for python3-base would be:
diff <(osc buildinfo openSUSE:Factory python3-base standard x86_64) <(osc buildinfo openSUSE:Factory python3-base standard x86_64 -x libexpat-devel) 151a152 <bdep name="libexpat-devel" notmeta="1" version="2.2.5" release="1.1" arch="x86_64" project="openSUSE:Factory" repository="standard" /> 160a162 <bdep name="libexpat1" notmeta="1" version="2.2.5" release="1.1" arch="x86_64" project="openSUSE:Factory" repository="standard" /> 164d165 < <bdep name="libexpat1" notmeta="1" version="2.2.5" release="1.1" arch="x86_64" project="openSUSE:Factory" repository="standard" />
so in fact not really different, since python3-base already pulls in libexpat1 anyway, which means expat must have built by the time python3-base builds. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 Jan Matejek <jmatejek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c33 --- Comment #33 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1077230) was mentioned in https://build.opensuse.org/request/show/923499 Factory / python36 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1077230 http://bugzilla.opensuse.org/show_bug.cgi?id=1077230#c34 --- Comment #34 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1077230) was mentioned in https://build.opensuse.org/request/show/926876 Factory / python36 -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com