problems with numpy 1.9+, should compile with --disable-numarray and --disable-numeric

Bug #1568872 reported by Gijs Molenaar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyqwt5 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Dear Maintainer,

We are using python-qwt5-qt4 on Debian and Ubuntu and run into troubles in combination with numpy 1.9+.

numarray and numeric subsystems for numpy have been depricated:
 * http://www.numpy.org/old_array_packages.html
 * http://docs.scipy.org/doc/numpy/reference/routines.numarray.html

pyqwt5 doesn't handle this well, and will generate errors when used.
Luckily this can be easily solved by adding --disable-numeric and --disable-numarray
to the configure step:

--- debian/rules.orig 2016-04-11 15:44:33.000000000 +0200
+++ debian/rules 2016-04-11 15:44:24.000000000 +0200
@@ -31,7 +31,7 @@
             mkdir -p build/py$$pyvers-qt$$qtvers;\
             cp -Rl `ls . |grep -v build|grep -v debian` build/py$$pyvers-qt$$qtvers;\
             (set -e; cd build/py$$pyvers-qt$$qtvers/configure;\
- python$$pyvers configure.py -$$qtvers -I /usr/include/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers );\
+ python$$pyvers configure.py -$$qtvers -I /usr/include/qwt-qt$$qtvers/ --extra-libs=qwt-qt$$qtvers --disable-numarray --disable-numeric );\
         done;\
     done
     touch configure-stamp

greetings,

 - Gijs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.