Bug#606870: python-openturns: creates a mess in sys.path by adding its own namespace

Julien Cristau jcristau at debian.org
Sun Dec 26 18:48:29 UTC 2010


user release.debian.org at packages.debian.org
usertag 606870 squeeze-will-remove
kthxbye

On Sun, Dec 12, 2010 at 17:34:32 +0100, Bernd Zeimetz wrote:

> Package: python-openturns
> Version: 0.13.2-6
> Severity: serious
> 
> Severity: serious as this breaks random other packages (like
> castle-combat).
> 
> Packages shipping their public modules in the dist-packages directory
> should never need to add their own namespace to sys.path. Unfortunately
> openturns does so:
> 
> % cat /usr/lib/python2.6/dist-packages/openturns.pth
> openturns
> 
> This breaks various random packages as openturns comes with common
> module names like 'common' and 'test'.
> Please note that there is never a need for packages which ship their
> modules in dist-packages to modify sys.path - you can always import them
> by using modulename.module.
> 
> I'm not sure what the reason in http://trac.openturns.org/ticket/67 was
> to add the .pth file, but doing so was just wrong.
> 
I'll schedule openturns for removal from squeeze if this doesn't get
fixed in the next few days.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20101226/d0d3dabe/attachment.pgp>


More information about the debian-science-maintainers mailing list