Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 207015 - mock-0.6-4 doesn't work with yum-2.9.6
mock-0.6-4 doesn't work with yum-2.9.6
Product: Fedora Hosted Projects
Classification: Retired
Component: mock (Show other bugs)
All Linux
medium Severity urgent
: ---
: ---
Assigned To: Clark Williams
Depends On:
Blocks: FE7Target
  Show dependency treegraph
Reported: 2006-09-18 15:31 EDT by Mykola Ulianytskyi
Modified: 2013-01-09 23:04 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-25 10:52:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to handle rpmUtils import change (503 bytes, patch)
2006-12-14 12:09 EST, Clark Williams
no flags Details | Diff

  None (edit)
Description Mykola Ulianytskyi 2006-09-18 15:31:00 EDT
Description of problem:
mock doesn't work with new yum

Version-Release number of selected component (if applicable):
mock--.1 doesn't work with yum-2.9.6-1

How reproducible:
mock some_package.src.rpm

Steps to Reproduce:
Actual results:

Expected results:
Traceback (most recent call last):
  File "/usr/bin/mock", line 986, in ?
  File "/usr/bin/mock", line 981, in main
  File "/usr/bin/mock", line 855, in ensure_filetype_srpm
    ts = rpmUtils.transaction.initReadOnlyTransaction()
AttributeError: 'module' object has no attribute 'transaction'

Additional info:
Comment 1 Clark Williams 2006-12-14 12:09:32 EST
Created attachment 143661 [details]
patch to handle rpmUtils import change
Comment 2 Clark Williams 2006-12-14 12:12:59 EST

I haven't been able to recreate your problem, probably because I haven't been
able to track down an old version of yum.

Would you please try the attached transaction patch on your mock.py and see if
it fixes your problem?

Comment 3 Mykola Ulianytskyi 2007-03-17 14:53:02 EDT
Sorry, but i can't test it now because haven't old version of yum.
Propose to close the bug.
Comment 4 Clark Williams 2007-03-25 10:52:58 EDT
Yeah, I haven't been able to duplicate it. We'll close it and hope for the best :)

Note You need to log in before you can comment on or make changes to this bug.