Red Hat Bugzilla – Bug 139221
yum failure with rpm 4.4
Last modified: 2007-11-30 17:10:54 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
AttributeError: 'module' object has no attribute '_RPMVSF_NOSIGNATURES'
The _RPMVSF_NOSIGNATURES and _RPMVSF_NODIGESTS flags are no longer
being recognized as valid attributes in the rpmmodule python module.
This occurs on CentOS 3.3 with python 2.2.3, so it would seem to be
the subclassable wrapping which has caused the error, not python 2.4.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install rpm-4.4-0.x
2. Run "yum update" on yum 2.0.x or 2.1.x
3. Blame jbj :-)
0936 <jbj[#cAos]> KainX: python-2.4 appears to enforce making symbols
that start with '_' opaque.
0937 <jbj[#cAos]> put the numeric value in, or -1 if you're too lazy
to look up the value, all the bits are disablers.
0950 <jbj[#cAos]> KainX: the other thing it might be is that rpmmodule
is now wrapped so that it can be subclassed. so perhaps the wrapping,
not python-2.4, is what enforce '_' symbols opaque. bugzilla, and
I'll get you a fix. I've seen, I slammed in a -1, but I'm wrestling
python-2.4 problems too.
Commited a fix to rexport those symbols in wrapper
Thanks Paul. That did the trick. :)