custom-components / zaptec

zaptec charger custom component for home assistant
MIT License
67 stars 20 forks source link

Installation fails due to broken dependency #72

Closed gompster closed 7 months ago

gompster commented 12 months ago

Hi,

After downloading the zaptec component via HACS, I get the following error when I try to install the integration:

Unable to install package azure-servicebus==7.0.1: error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [66 lines of output] Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/, https://wheels.home-assistant.io/musllinux-index/ Collecting setuptools>=42 Downloading https://wheels.home-assistant.io/musllinux-index/setuptools-69.0.2-py3-none-any.whl (819 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.5/819.5 kB 9.8 MB/s eta 0:00:00 Collecting wheel Downloading https://wheels.home-assistant.io/musllinux-index/wheel-0.42.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 10.7 MB/s eta 0:00:00 Collecting Cython<3.0.0 Downloading https://wheels.home-assistant.io/musllinux-index/Cython-0.29.36-py2.py3-none-any.whl (988 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 988.3/988.3 kB 14.7 MB/s eta 0:00:00 Collecting cmake Downloading cmake-3.27.7.tar.gz (35 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cmake Building wheel for cmake (pyproject.toml): started Building wheel for cmake (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for cmake (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [34 lines of output] Traceback (most recent call last): File "/tmp/pip-build-env-0rjoyb9g/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 645, in setup cmkr = cmaker.CMaker(cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-0rjoyb9g/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 148, in init self.cmake_version = get_cmake_version(self.cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-0rjoyb9g/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 105, in get_cmake_version raise SKBuildError(msg) from err =============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install cmake: 1) Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) If on Linux, with glibc < 2.12, you can set PIP_ONLY_BINARY=cmake in order to retrieve the last manylinux1 compatible wheel. 3) If on Linux, with glibc < 2.12, you can cap "cmake<3.23" in your requirements in order to retrieve the last manylinux1 compatible wheel. 4) Open an issue with the debug information that follows at https://github.com/scikit-build/cmake-python-distributions/issues Python: 3.11.6 platform: Linux-6.1.21-v7-armv7l-with machine: armv7l bits: 32 pip: n/a setuptools: 69.0.2 scikit-build: 0.17.6 PEP517_BUILD_BACKEND=setuptools.build_meta =============================DEBUG ASSISTANCE============================= Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for cmake Failed to build cmake ERROR: Could not build wheels for cmake, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip.

Is this a known issue?

sveinse commented 12 months ago

Please install the latest 0.7.0 beta