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

Bug 427244

Summary: dev-python/networkx 1.7 - Syntax errors / warnings in Python modules for CPython 3.2: File "/usr/lib64/python3.2/site-packages/networkx/external/decorator/_decorator.py", line 153 /// exec code in evaldict: SyntaxError: invalid syntax
Product: Gentoo Linux Reporter: Hans <hanspirnay>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: follettoonip, jlec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Hans 2012-07-19 18:53:45 UTC
Just emerged dev-python/networkx-1.7  (USE="-doc -examples -test") and ran into this error: 

---------- BEGIN emerge output

* Messages for package dev-python/networkx-1.7:

 * Syntax errors / warnings in Python modules for CPython 3.2:
 *     *** Error compiling '/usr/lib64/python3.2/site-packages/networkx/external/decorator/_decorator.py'...
 *     File "/usr/lib64/python3.2/site-packages/networkx/external/decorator/_decorator.py", line 153
 *     exec code in evaldict
 *     ^
 *     SyntaxError: invalid syntax
>>> Auto-cleaning packages...

-------------- END emerge output

It seems that I can run networkx-1.7. I tried from the python command line, and loading the module works, did not test more thoroughly, though.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-02-03 09:04:15 UTC
Not present anymore