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

Bug 237626

Summary: dev-python/gnuplot-py fails to install with python-2.6
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205    
Attachments: gnuplot-py-1.8-py26-namespace-fix.patch

Description Mike Auty (RETIRED) gentoo-dev 2008-09-14 12:36:04 UTC
Hiya,

So gnuplot-py features a test.py file in the same directory as the setup.py file.  Unfortunately the latest distutils now imports from the test module, and the local test.py takes precedence in the namespace, and everything breaks.

A quick fix is simply to move the file, but I've attached a patch that moves the file and also changes all references to the file in the documentation.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-09-14 12:36:31 UTC
Created attachment 165393 [details, diff]
gnuplot-py-1.8-py26-namespace-fix.patch
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2008-10-10 18:32:17 UTC
This seems to be resolved in the final python 2.6 release. Please re-open if you can reproduce.

Thanks, Mike.