Bug 620019 - python-peak-rules needs to be rebuilt against python 2.7 in F14 and devel
Summary: python-peak-rules needs to be rebuilt against python 2.7 in F14 and devel
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-peak-rules
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On: 620023
Blocks: Python27Rebuild 620192 620193
TreeView+ depends on / blocked
 
Reported: 2010-07-31 12:46 UTC by Dave Malcolm
Modified: 2016-09-20 02:41 UTC (History)
4 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-08-05 14:28:05 UTC


Attachments (Terms of Use)

Description Dave Malcolm 2010-07-31 12:46:09 UTC
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!

Comment 1 Dave Malcolm 2010-07-31 12:49:18 UTC
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

Comment 2 Dave Malcolm 2010-07-31 12:52:09 UTC
This appears to have been this bytecode change in 2.7:
http://svn.python.org/view?view=rev&revision=70071

Comment 3 Dave Malcolm 2010-07-31 13:57:13 UTC
I've opened bug 620023 to track the underlying issue.

Comment 4 Toshio Ernie Kuratomi 2010-08-03 12:47:26 UTC
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.

Comment 5 Fedora Update System 2010-08-03 20:12:37 UTC
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

Comment 6 Fedora Update System 2010-08-05 14:28:01 UTC
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.


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