[Python-modules-team] Bug#703585: Bug#703585: wrong fix?

Julian Taylor jtaylor.debian at googlemail.com
Mon Jan 13 18:14:02 UTC 2014


On 13.01.2014 07:28, Antoine Martin wrote:
> Correct me if I'm wrong, but the suggested fix in comment 15 looks wrong
> to me:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703585#15
> 
> PyOpenGL already has a loader for numpy, this only slots numpy where
> "python-numeric" used to go, effectively loading it twice under two names.
> It avoids the warning, but I don't think that's right.
> 
> The more fundamental problem is twofold:
> * it tries to import libraries which are highly unlikely to be found on
> the system (with "python-numeric" being replaced by "numpy" everywhere)
> * when it fails to load, it spits out those huge stacktraces that scare
> users, simply saying "accelerator module XYZ not installed" would be
> just as correct and far less likely to cause so many false problems
> 

I can't speak for the correctness of the fix in the context of pyopengl,
but numpy.numarray.Numeric is a compatibility wrapper on for the
original Numeric, so it should work as a drop in replacement.

But it is being removed in numpy 1.9, so it needs to be removed from
pyopengl better now than later.
If this is not possible please add a preemptive version conflict with
1.9 to avoid breakage on upgrade.



More information about the Python-modules-team mailing list