Remove `orderedset` from camkes-deps
Closed this issue · 1 comments
hcindyl commented
orderedset can't be set up properly in python3.11, even though it is not referred to in the python tools. However, keeping it in camkes-deps
camkes-tool/tools/python-deps/setup.py
Line 32 in 7c31653
breaks the pip install.
Building wheel for orderedset (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/orderedset
copying lib/orderedset/__init__.py -> build/lib.linux-x86_64-cpython-311/orderedset
running build_ext
building 'orderedset._orderedset' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/lib
creating build/temp.linux-x86_64-cpython-311/lib/orderedset
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c lib/orderedset/_orderedset.c -o build/temp.linux-x86_64-cpython-311/lib/orderedset/_orderedset.o
lib/orderedset/_orderedset.c:209:12: fatal error: longintrepr.h: No such file or directory
209 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
kent-mcleod commented
I agree that orderedset should be removed from setup.py, requirements.txt and other places it's referenced and updated to ordered-set (which is already present in setup.py).