Bug 207015
| Summary: | mock-0.6-4 doesn't work with yum-2.9.6 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Fedora Hosted Projects | Reporter: | Mykola Ulianytskyi <lystor> | ||||
| Component: | mock | Assignee: | Clark Williams <williams> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | |||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | dcantrell, extras-qa | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-03-25 14:52:58 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 213321 | ||||||
| Attachments: |
|
||||||
Created attachment 143661 [details]
patch to handle rpmUtils import change
Nikolay, 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? Clark Sorry, but i can't test it now because haven't old version of yum. Propose to close the bug. Yeah, I haven't been able to duplicate it. We'll close it and hope for the best :) |
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: 1. 2. 3. Actual results: Expected results: Traceback (most recent call last): File "/usr/bin/mock", line 986, in ? main() File "/usr/bin/mock", line 981, in main ensure_filetype_srpm(srpms) File "/usr/bin/mock", line 855, in ensure_filetype_srpm ts = rpmUtils.transaction.initReadOnlyTransaction() AttributeError: 'module' object has no attribute 'transaction' Additional info: