So the package does get install by falling back onto the setup.py, but leaves this warning -
DEPRECATION: pairtools was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
During the attempt to install with the wheel, there's a bunch of red ;
#warning "Using deprecated NumPy API, disable it with " \
^~~
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c: In function ‘Pyx_InitCachedConstants’:
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24122:284: error: macro "Pyx_PyCode_New" requires 16 arguments, but only 15 given
24122
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24122:34: error: ‘__Pyx_PyCode_New’ undeclared (first use in this function); did you mean ‘PyCode_New’?
24122
PyCode_New
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24122:34: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24132:289: error: macro "__Pyx_PyCode_New" requires 16 arguments, but only 15 given
24132
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24197:276: error: macro "__Pyx_PyCode_New" requires 16 arguments, but only 15 given
24197
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c: In function ‘__Pyx_ParseOptionalKeywords’:
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:24933:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
24933
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
580
^
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
446
^~~~~~
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c: In function ‘__Pyx_decode_c_string’:
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:26958:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
26958
return PyUnicode_FromUnicode(NULL, 0);
^~
In file included from /mmfs1/home/asur/.python-3/include/python3.9/unicodeobject.h:1026,
from /mmfs1/home/asur/.python-3/include/python3.9/Python.h:97,
from /tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:17:
/mmfs1/home/asur/.python-3/include/python3.9/cpython/unicodeobject.h:551:42: note: declared here
551
^~~~~
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c: In function ‘Pyx_CreateCodeObjectForTraceback’:
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:27650:5: error: macro "Pyx_PyCode_New" requires 16 arguments, but only 15 given
27650
);
^
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:330: note: macro "__Pyx_PyCode_New" defined here
330
/tmp/pip-install-b0k8_llw/pairtools_c87643fef5d34cf8810e86019fc6f614/pairtools/_dedup.c:27634:15: error: ‘Pyx_PyCode_New’ undeclared (first use in this function); did you mean ‘PyCode_New’?
27634 | py_code = Pyx_PyCode_New(
| ^~~~
| PyCode_New
error: command '/sw/gcc/10.2.0/bin/gcc' failed with exit code 1
So the package does get install by falling back onto the setup.py, but leaves this warning -
DEPRECATION: pairtools was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
During the attempt to install with the wheel, there's a bunch of red ;