Upcoming Fedora 37 has Python 3.11rc2 right now. I tried to install lapsolver
with pip. There was no .whl
(but maybe this is normal for pre-release, I'm not expert on Python packaging!).
pip install lapsolver
Defaulting to user installation because normal site-packages is not writeable
Collecting lapsolver
Using cached lapsolver-1.1.0.tar.gz (261 kB)
Preparing metadata (setup.py) ... done
Installing collected packages: lapsolver
DEPRECATION: lapsolver is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
Running setup.py install for lapsolver ... error
error: subprocess-exited-with-error
× Running setup.py install for lapsolver did not run successfully.
│ exit code: 1
╰─> [312 lines of output]
/usr/lib/python3.11/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
WARNING: The wheel package is not available.
running install
/usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-311
creating build/lib.linux-x86_64-cpython-311/lapsolver
copying lapsolver/__init__.py -> build/lib.linux-x86_64-cpython-311/lapsolver
creating build/lib.linux-x86_64-cpython-311/lapsolver/tests
copying lapsolver/tests/__init__.py -> build/lib.linux-x86_64-cpython-311/lapsolver/tests
copying lapsolver/tests/test_files.py -> build/lib.linux-x86_64-cpython-311/lapsolver/tests
copying lapsolver/tests/test_dense.py -> build/lib.linux-x86_64-cpython-311/lapsolver/tests
running egg_info
writing lapsolver.egg-info/PKG-INFO
writing dependency_links to lapsolver.egg-info/dependency_links.txt
writing top-level names to lapsolver.egg-info/top_level.txt
reading manifest file 'lapsolver.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'lapsolver.egg-info/SOURCES.txt'
/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'lapsolver.data.dense' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'lapsolver.data.dense' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'lapsolver.data.dense' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'lapsolver.data.dense' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
/usr/lib/python3.11/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'lapsolver.etc' as data is deprecated, please list it in `packages`.
!!
############################
# Package would be ignored #
############################
Python recognizes 'lapsolver.etc' as an importable package,
but it is not listed in the `packages` configuration of setuptools.
'lapsolver.etc' has been automatically added to the distribution only
because it may contain data files, but this behavior is likely to change
in future versions of setuptools (and therefore is considered deprecated).
Please make sure that 'lapsolver.etc' is included as a package by using
the `packages` configuration field or the proper discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" and "data files" on setuptools
documentation page.
!!
check.warn(importable)
creating build/lib.linux-x86_64-cpython-311/lapsolver/data
creating build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs0.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs1.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs10.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs2.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs3.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs4.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs5.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs6.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs7.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs8.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
copying lapsolver/data/dense/costs9.npz -> build/lib.linux-x86_64-cpython-311/lapsolver/data/dense
creating build/lib.linux-x86_64-cpython-311/lapsolver/etc
copying lapsolver/etc/benchmark-dtype-int.png -> build/lib.linux-x86_64-cpython-311/lapsolver/etc
copying lapsolver/etc/benchmark-dtype-numpy.float32.png -> build/lib.linux-x86_64-cpython-311/lapsolver/etc
running build_ext
-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3 (found version "3.11")
-- Found PythonLibs: /usr/lib64/libpython3.11.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.2.1
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/build/temp.linux-x86_64-cpython-311
[ 50%] Building CXX object CMakeFiles/lapsolverc.dir/src/lapsolverc.cpp.o
In file included from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:16,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:43,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/src/lapsolverc.cpp:1:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.11/Python.h:89,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/common.h:111,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pytypes.h:12,
from /tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:13:
/usr/include/python3.11/pythread.h:96:36: note: declared here
96 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h:82:33: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
82 | decltype(PyThread_create_key()) tstate = 0; // Usually an int but a long on Cygwin64 with Python 3.x
| ~~~~~~~~~~~~~~~~~~~^~
/usr/include/python3.11/pythread.h:96:36: note: declared here
96 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h:165:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
165 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.11/Python.h:95:
/usr/include/python3.11/ceval.h:132:37: note: declared here
132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h:167:52: warning: ‘int PyThread_create_key()’ is deprecated [-Wdeprecated-declarations]
167 | internals_ptr->tstate = PyThread_create_key();
| ~~~~~~~~~~~~~~~~~~~^~
/usr/include/python3.11/pythread.h:96:36: note: declared here
96 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_create_key(void);
| ^~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/detail/internals.h:168:31: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
168 | PyThread_set_key_value(internals_ptr->tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:98:36: note: declared here
98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
441 | " " + handle(frame->f_code->co_filename).cast<std::string>() +
| ^~
In file included from /usr/include/python3.11/Python.h:42:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token
441 | " " + handle(frame->f_code->co_filename).cast<std::string>() +
| ^
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token
441 | " " + handle(frame->f_code->co_filename).cast<std::string>() +
| ^
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
443 | handle(frame->f_code->co_name).cast<std::string>() + "\n";
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token
443 | handle(frame->f_code->co_name).cast<std::string>() + "\n";
| ^
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token
443 | handle(frame->f_code->co_name).cast<std::string>() + "\n";
| ^
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
444 | frame = frame->f_back;
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_acquire::gil_scoped_acquire()’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1741:58: warning: ‘void* PyThread_get_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1741 | tstate = (PyThreadState *) PyThread_get_key_value(internals.tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:100:39: note: declared here
100 | Py_DEPRECATED(3.7) PyAPI_FUNC(void *) PyThread_get_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1753:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1753 | PyThread_set_key_value(internals.tstate, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:98:36: note: declared here
98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h: In member function ‘void pybind11::gil_scoped_acquire::dec_ref()’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1792:38: warning: ‘void PyThread_delete_key_value(int)’ is deprecated [-Wdeprecated-declarations]
1792 | PyThread_delete_key_value(detail::get_internals().tstate);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:101:37: note: declared here
101 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyThread_delete_key_value(int key);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h: In constructor ‘pybind11::gil_scoped_release::gil_scoped_release(bool)’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1820:39: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1820 | PyThread_set_key_value(key, nullptr);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:98:36: note: declared here
98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h: In destructor ‘pybind11::gil_scoped_release::~gil_scoped_release()’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1833:35: warning: ‘int PyThread_set_key_value(int, void*)’ is deprecated [-Wdeprecated-declarations]
1833 | PyThread_set_key_value(key, tstate);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/usr/include/python3.11/pythread.h:98:36: note: declared here
98 | Py_DEPRECATED(3.7) PyAPI_FUNC(int) PyThread_set_key_value(int key,
| ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h: In function ‘pybind11::function pybind11::get_type_overload(const void*, const detail::type_info*, const char*)’:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1890:49: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘frame’; did you mean ‘cframe’?
1890 | PyFrameObject *frame = PyThreadState_Get()->frame;
| ^~~~~
| cframe
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1891:41: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
1891 | if (frame && (std::string) str(frame->f_code->co_name) == name &&
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1892:14: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
1892 | frame->f_code->co_argcount > 0) {
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1895:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
In file included from /usr/include/python3.11/Python.h:38:
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1895:52: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
| ^~
/usr/include/python3.11/pyport.h:24:38: note: in definition of macro ‘_Py_CAST’
24 | #define _Py_CAST(type, expr) ((type)(expr))
| ^~~~
/usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’
30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index])
| ^~~~~~~~~~~~~
/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/pybind11/include/pybind11/pybind11.h:1895:30: note: in expansion of macro ‘PyTuple_GET_ITEM’
1895 | frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
| ^~~~~~~~~~~~~~~~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
gmake[2]: *** [CMakeFiles/lapsolverc.dir/build.make:76: CMakeFiles/lapsolverc.dir/src/lapsolverc.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/lapsolverc.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/setup.py", line 72, in <module>
setup(
File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 177, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 193, in run_commands
dist.run_commands()
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/usr/lib/python3.11/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/install.py", line 690, in run
self.run_command('build')
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/usr/lib/python3.11/site-packages/setuptools/command/build.py", line 24, in run
super().run()
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 1229, in run_command
super().run_command(command)
File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/setup.py", line 33, in run
self.build_extension(ext)
File "/tmp/pip-install-ekbfrdjj/lapsolver_e4dd55aaded347cd9b2fabba1cf0d339/setup.py", line 58, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/usr/lib64/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lapsolver
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.