Closed peterfpeterson closed 4 years ago
koschei has a srpm for v2.2.4 on fc29 and has results for python2 and python3. fc30 and rhel8 made the switch to python3 only.
After tracking down the rpm and making pseudo-random changes to package names in the spec file, what is left missing is:
python2-kiwisolver
and python36-kiwisolver
python2-cycler
and python36-cycler
version >= 0.10.0 (we have python2-cycler
v0.9.0 in our copr repopython36-PyQt4-devel
is only needed by the python36 qt4 backend which is not currently available on RHEL7Backporting cycler and kiwisolver from fc29 was straightforward. This also required backporting wxpython from fc29. There is an error while compiling related to qhull. The message is
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/lib64/python2.7/site-packages/numpy/core/include -Iextern -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.7 -c src/qhull_wrap.c -o build/temp.linux-x86_64-2.7/src/qhull_wrap.o
src/qhull_wrap.c:10:30: fatal error: libqhull/qhull_a.h: No such file or directory
#include "libqhull/qhull_a.h"
^
compilation terminated.
Even though there is a file /usr/include/qhull/qhull_a.h
v2.2.4 LTS appears to be the last one that supports python2 which is needed (in the short term) for RHEL7 development.