Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 314513

Summary: dev-python/jaxml-3.01 fails to build with Python 2.7 (__debug__ assignment)
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292401    
Attachments: jaxml-3.01:20100410-130606.log
version bump

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-10 13:08:47 UTC
dev-python/jaxml-3.01 fails to build with Python 2.7.

python2.7 setup.py build -b build-2.7 
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    import jaxml
  File "/var/tmp/portage/dev-python/jaxml-3.01/work/jaxml-3.01/jaxml.py", line 990
    self.__debug__ = file
SyntaxError: cannot assign to __debug__
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-04-10 13:09:34 UTC
Created attachment 227261 [details]
jaxml-3.01:20100410-130606.log
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-07-26 16:29:58 UTC
dev-python/jaxml-3.01 could assign a name different than __debug__, e.g. __debug_file__.

dev-python/jaxml-3.01 also uses regex module, which has been removed in Python 2.5.
Comment 3 Johan Bergström 2010-08-22 14:47:43 UTC
iElectric @ #gentoo-python claims 3.02 indeed plays with python 2.7. Lets look at a version bump
Comment 4 Domen Kožar 2010-08-22 16:30:50 UTC
Created attachment 244055 [details]
version bump
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-09-15 21:47:44 UTC
Fixed by upstream in dev-python/jaxml-3.02.