-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
failureIssue found in production while not necessarily being a mistakeIssue found in production while not necessarily being a mistake
Description
Hi @dhondta, There is no new update, but I wonder what is the reason for the build error?
205.5 Collecting scikit-learn-extra
205.5 Downloading scikit-learn-extra-0.3.0.tar.gz (818 kB)
205.7 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.0/819.0 kB 5.3 MB/s eta 0:00:00
205.9 Installing build dependencies: started
215.7 Installing build dependencies: finished with status 'done'
215.8 Getting requirements to build wheel: started
228.2 Getting requirements to build wheel: finished with status 'error'
228.2 error: subprocess-exited-with-error
228.2
228.2 × Getting requirements to build wheel did not run successfully.
228.2 │ exit code: 1
228.2 ╰─> [60 lines of output]
228.2
228.2 Error compiling Cython file:
228.2 ------------------------------------------------------------
228.2 ...
228.2 import sys
228.2 from time import time
228.2
228.2 from libc.math cimport exp, log, sqrt, pow, fabs
228.2 cimport numpy as np
228.2 from numpy.math cimport INFINITY
228.2 ^
228.2 ------------------------------------------------------------
228.2
228.2 sklearn_extra/robust/_robust_weighted_estimator_helper.pyx:18:0: 'numpy/math.pxd' not found
228.2
228.2 Error compiling Cython file:
228.2 ------------------------------------------------------------
228.2 ...
228.2 import sys
228.2 from time import time
228.2
228.2 from libc.math cimport exp, log, sqrt, pow, fabs
228.2 cimport numpy as np
228.2 from numpy.math cimport INFINITY
228.2 ^
228.2 ------------------------------------------------------------
228.2
228.2 sklearn_extra/robust/_robust_weighted_estimator_helper.pyx:18:0: 'numpy/math/INFINITY.pxd' not found
228.2 performance hint: sklearn_extra/robust/_robust_weighted_estimator_helper.pyx:24:0: Exception check on '_euclidean_dense_dense' will always require the GIL to be acquired. Declare '_euclidean_dense_dense' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
228.2 Compiling sklearn_extra/utils/_cyfht.pyx because it changed.
228.2 Compiling sklearn_extra/cluster/_k_medoids_helper.pyx because it changed.
228.2 Compiling sklearn_extra/robust/_robust_weighted_estimator_helper.pyx because it changed.
228.2 Compiling sklearn_extra/cluster/_commonnn_inner.pyx because it changed.
228.2 [1/4] Cythonizing sklearn_extra/cluster/_commonnn_inner.pyx
228.2 [2/4] Cythonizing sklearn_extra/cluster/_k_medoids_helper.pyx
228.2 [3/4] Cythonizing sklearn_extra/robust/_robust_weighted_estimator_helper.pyx
228.2 Traceback (most recent call last):
228.2 File "/home/user/.local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
228.2 main()
228.2 File "/home/user/.local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
228.2 json_out["return_val"] = hook(**hook_input["kwargs"])
228.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
228.2 File "/home/user/.local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
228.2 return hook(config_settings)
228.2 ^^^^^^^^^^^^^^^^^^^^^
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
228.2 return self._get_build_requires(config_settings, requirements=[])
228.2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/setuptools/build_meta.py", line 301, in _get_build_requires
228.2 self.run_setup()
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/setuptools/build_meta.py", line 512, in run_setup
228.2 super().run_setup(setup_script=setup_script)
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/setuptools/build_meta.py", line 317, in run_setup
228.2 exec(code, locals())
228.2 File "<string>", line 58, in <module>
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/Cython/Build/Dependencies.py", line 1145, in cythonize
228.2 cythonize_one(*args)
228.2 File "/tmp/pip-build-env-c4iex_mo/overlay/local/lib/python3.12/dist-packages/Cython/Build/Dependencies.py", line 1289, in cythonize_one
228.2 raise CompileError(None, pyx_file)
228.2 Cython.Compiler.Errors.CompileError: sklearn_extra/robust/_robust_weighted_estimator_helper.pyx
228.2 [end of output]
228.2
228.2 note: This error originates from a subprocess, and is likely not a problem with pip.
228.2 error: subprocess-exited-with-error
228.2
228.2 × Getting requirements to build wheel did not run successfully.
228.2 │ exit code: 1
228.2 ╰─> See above for output.
228.2
228.2 note: This error originates from a subprocess, and is likely not a problem with pip.
------
Dockerfile:117
--------------------
116 | RUN python3 -m pip install --user --upgrade --break-system-packages pip
117 | >>> RUN pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages \
118 | >>> capstone jinja2 meson poetry pythonnet thefuck tinyscript tldr vt-py \
119 | >>> && pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages \
120 | >>> angr capa lightgbm pandas pydl8.5 scikit-learn scikit-learn-extra weka \
121 | >>> && rm -f /home/user/.local/lib/python3.11/site-packages/unicorn/lib \
122 | >>> && pip3 uninstall -y --break-system-packages unicorn \
123 | >>> && pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages unicorn \
124 | >>> && pip3 install --user --break-system-packages git+https://github.com/freakboy3742/pyspamsum
125 | # install ILSpyCmd
--------------------
ERROR: failed to solve: process "/bin/sh -c pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages capstone jinja2 meson poetry pythonnet thefuck tinyscript tldr vt-py && pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages angr capa lightgbm pandas pydl8.5 scikit-learn scikit-learn-extra weka && rm -f /home/user/.local/lib/python3.11/site-packages/unicorn/lib && pip3 uninstall -y --break-system-packages unicorn && pip3 install --user --no-warn-script-location --ignore-installed --break-system-packages unicorn && pip3 install --user --break-system-packages git+https://github.com/freakboy3742/pyspamsum" did not complete successfully: exit code: 1
Metadata
Metadata
Assignees
Labels
failureIssue found in production while not necessarily being a mistakeIssue found in production while not necessarily being a mistake