[Yum-devel] problem with rpmUtils.transaction.py patch
seth vidal
skvidal at fedoraproject.org
Thu Feb 17 22:42:54 UTC 2011
in rpmUtils.transaction.py
this patch
http://tinyurl.com/6ds7ekw
imports to_str from yum.i18n
this blows up anyone attempting to import rpmUtils.miscutils recursive
import.
the trace is here
http://fpaste.org/Oj0f/
the problem is that 'yum' imports things - specifically config which
ends up grabbing in rpmUtils.miscutils.
so we need to either:
1. move to kitchen
2. stop using to_str() there
3. move all of YumBase() into it's own file so __init__.py is just a
blank stub and then deal with all the pain of the massive API break.
but in general we shouldn't be importing from yum out of rpmUtils, I
think.
I'm going to hack something in for rawhide (probably just (str) in the
ts.check() call - to make it work.
anyone have a preference on 1-3 above?
-sv
More information about the Yum-devel
mailing list