Mailinglist Archive: opensuse-bugs (8956 mails)

< Previous Next >
[Bug 214119] yum broken, Python2.5 problem?
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 26 Oct 2006 20:22:55 -0600 (MDT)
  • Message-id: <20061027022255.54355B45@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=214119





------- Comment #4 from andreas.hanke@xxxxxxxxxxxxxx 2006-10-26 20:22 MST -------
OK, just a few remarks first.

(1) Jeremy Katz has posted 4 patches in total:

(a) yum-python25-etree.patch
(b) yum-error-vals.patch
(c) yum-mdparser-sqlite.patch
(d) yum-pysqlite.patch

You have taken (a) and (b) only.

Is the assumption correct that (c) and (d) are only needed with the newer
pysqlite inside Python2.5 and not when using the external package?

(2) You have taken yum-python25-etree.patch, but in an incomplete way.

yum needs either cElementTree (from python-elementtree.rpm) or xml.etree (from
python-xml.rpm).

The spec file now says:

%if %{suse_version} <= 1010
Requires: python-elementtree
%endif

This way, none of both providers is pulled in as a dependency on 10.2, which is
not OK. Please make a decision which provider of ElementTree to use (I don't
know which one is better - for smart it was easy because smart had a dependency
on python-xml anyway and therefore using that saved a dependency, but this is
not the case with yum). Maybe you can take the CD layout into account (using
python-xml might allow moving python-elementtree away from the CD set).

(3) I cannot answer the actual question yet, will do that later today ;-)


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References