Bug 620019
| Summary: | python-peak-rules needs to be rebuilt against python 2.7 in F14 and devel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> |
| Component: | python-peak-rules | Assignee: | Luke Macken <lmacken> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | a.badger, kylev, lmacken, pfrields |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-peak-rules-0.5a1.dev-12.a1.dev.20100803svn2646.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-05 14:28:05 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: | 620023 | ||
| Bug Blocks: | 619913, 620192, 620193 | ||
Looks like an underlying bytecode change in python 2.7 that needs fixing in python-peak-util-assembler: Python 2.6.5 (r265:79063, Jul 13 2010, 21:20:31) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import dis >>> 'JUMP_IF_FALSE' in dis.opname True Python 2.7 (r27:82500, Jul 28 2010, 18:07:57) [GCC 4.5.0 20100716 (Red Hat 4.5.0-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import dis >>> 'JUMP_IF_FALSE' in dis.opname False This appears to have been this bytecode change in 2.7: http://svn.python.org/view?view=rev&revision=70071 I've opened bug 620023 to track the underlying issue. python-peak-util-assembler updated. Build override requested for f14. I've checked in and pushed updated sources for building this package but the patches need to be ported or discarded. Please feel free to do that as I must fall into bed now. python-peak-rules-0.5a1.dev-12.a1.dev.20100803svn2646.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/python-peak-rules-0.5a1.dev-12.a1.dev.20100803svn2646.fc14 python-peak-rules-0.5a1.dev-12.a1.dev.20100803svn2646.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
The package needs to be rebuilt against python 2.7 in both F14 and devel. Automated rebuild failed; the issue appears to be in python-peak-util-assembler: File "/usr/lib/python2.7/site-packages/peak/util/assembler.py", line 221, in TryExcept next_test.JUMP_IF_FALSE, Code.POP_TOP, # remove condition AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE' http://koji.fedoraproject.org/koji/getfile?taskID=2368743&name=build.log Information on the new "dist-git" system can be seen here: http://fedoraproject.org/wiki/Using_Fedora_GIT Information on common difficulties with Python 2.7 rebuilds can be seen here: https://fedoraproject.org/wiki/Features/Python_2.7 Once it's been successfully rebuilt for F14, an update needs to be filed to get the rebuild into F14: https://admin.fedoraproject.org/updates/new/ Please add this bug to the update, to make it easy to track what's been done, and what's left to do. Thanks!