Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327215 - dev-python/promise-0.2.1 fails tests with Python 2.7 (JUMP_IF_FALSE, JUMP_IF_TRUE)
Summary: dev-python/promise-0.2.1 fails tests with Python 2.7 (JUMP_IF_FALSE, JUMP_IF_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2010-07-06 21:44 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2011-04-15 18:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
promise-0.2.1:20100706-214142.log (promise-0.2.1:20100706-214142.log,8.79 KB, text/plain)
2010-07-06 21:45 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-06 21:44:09 UTC
dev-python/promise-0.2.1 fails tests with Python 2.7 due to removed JUMP_IF_FALSE and JUMP_IF_TRUE.
http://svn.python.org/view?view=rev&revision=70071
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-06 21:45:14 UTC
Created attachment 237801 [details]
promise-0.2.1:20100706-214142.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-14 18:57:12 UTC
https://github.com/rfk/promise/commit/ef24dec89ce75750040daeec8d3e0e7fe37d1ec0
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-14 19:01:23 UTC
Fixed by upstream in dev-python/promise-0.2.2.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2011-04-15 06:54:27 UTC
I wonder if we should split out the byteplay module? I've got an ebuild for it ready to go (which I prepared after I got this response to my bug).
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-04-15 18:50:27 UTC
promise unconditionally uses 'from promise.byteplay import *'. I suggest to firstly convince promise upstream to use:
try:
    from byteplay import *
except ImportError:
    from promise.byteplay import *