piwheels / packages

Issue tracker for piwheels package issues
https://github.com/piwheels/packages/issues
20 stars 5 forks source link

Problem with package: statsmodels #382

Closed mtobin-tdab closed 1 year ago

mtobin-tdab commented 1 year ago

Package name

statsmodels

Package version

0.14.0

PyPI URL

https://pypi.org/project/statsmodels/

piwheels URL

https://www.piwheels.org/project/statsmodels/

Python version

I am the maintainer

More information

Command run:

python -m pip install https://www.piwheels.org/simple/statsmodels/statsmodels-0.14.0-cp39-cp39-linux_armv7l.whl#sha256=a1742c8ddb7bfaf5effe6720da5adbe5611ee075b16a4eaa5e8fbe0ea6973ba7

Wheel fails to install on arm32v7 architecture. Error below

           [ 88%] Running Ninja test suite
            gmake[2]: *** [CMakeFiles/build_ninja.dir/build.make:120: build_ninja-prefix/src/build_ninja-stamp/build_ninja-run_ninja_test_suite] Error 130
            gmake[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/build_ninja.dir/all] Error 2
            gmake: *** [Makefile:136: all] Error 2
            Traceback (most recent call last):
              File "/tmp/pip-build-env-b41idhwm/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 674, in setup
                cmkr.make(make_args, install_target=cmake_install_target, env=env)
              File "/tmp/pip-build-env-b41idhwm/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 697, in make
                self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
              File "/tmp/pip-build-env-b41idhwm/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 742, in make_impl
                raise SKBuildError(msg)

            An error occurred while building with CMake.
              Command:
                /usr/local/bin/cmake --build . --target install --config Release --
              Install target:
                install
              Source directory:
                /tmp/pip-install-wr4ngsdn/ninja_4eee4123d35f48a6baeb516136862d9d
              Working directory:
                /tmp/pip-install-wr4ngsdn/ninja_4eee4123d35f48a6baeb516136862d9d/_skbuild/linux-armv7l-3.9/cmake-build
            Please check the install target is valid and see CMake's output for more information.

            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for ninja
      Failed to build ninja
      ERROR: Could not build wheels for ninja, which is required to install pyproject.toml-based projects
python --version
Python 3.9.13

python -m pip --version
pip 23.2.1

cmake --version
cmake version 3.26.4
bennuttall commented 1 year ago

Those errors are coming from one of the dependencies - ninja: https://piwheels.org/project/ninja/ We do have recent versions of ninja, so maybe it requires an older version.

Can you figure out what the problem is and open an issue against that package?