Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237626 - dev-python/gnuplot-py fails to install with python-2.6
Summary: dev-python/gnuplot-py fails to install with python-2.6
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2008-09-14 12:36 UTC by Mike Auty (RETIRED)
Modified: 2008-10-10 18:32 UTC (History)
0 users

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


Attachments
gnuplot-py-1.8-py26-namespace-fix.patch (gnuplot-py-1.8-py26-namespace-fix.patch,28.47 KB, patch)
2008-09-14 12:36 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.