hacs_waste_collection_schedule: [Bug]: 1.44.0 -> 1.45.0 update hacs not starting anymore

I Have A Problem With:

The integration in general

What’s Your Problem

if i try to install shapely manually i get an numpy error So this version is not working for me

Source (if relevant)

No response

Logs

homeassistant  | 2024-01-21 12:47:29.564 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package shapely: error: subprocess-exited-with-error
homeassistant  |
homeassistant  |   × pip subprocess to install build dependencies did not run successfully.
homeassistant  |   │ exit code: 1
homeassistant  |   ╰─> [300 lines of output]
homeassistant  |       Collecting Cython
homeassistant  |         Using cached Cython-3.0.8-cp311-cp311-musllinux_1_1_aarch64.whl (3.5 MB)
homeassistant  |       Collecting oldest-supported-numpy
homeassistant  |         Using cached oldest_supported_numpy-2023.12.21-py3-none-any.whl (4.9 kB)
homeassistant  |       Collecting setuptools>=61.0.0
homeassistant  |         Using cached setuptools-69.0.3-py3-none-any.whl (819 kB)
homeassistant  |       Collecting numpy==1.23.2
homeassistant  |         Using cached numpy-1.23.2.tar.gz (10.7 MB)
homeassistant  |         Installing build dependencies: started
homeassistant  |         Installing build dependencies: finished with status 'done'
homeassistant  |         Getting requirements to build wheel: started
homeassistant  |         Getting requirements to build wheel: finished with status 'done'
homeassistant  |         Preparing metadata (pyproject.toml): started
homeassistant  |         Preparing metadata (pyproject.toml): finished with status 'done'
homeassistant  |       Building wheels for collected packages: numpy
homeassistant  |         Building wheel for numpy (pyproject.toml): started
homeassistant  |         Building wheel for numpy (pyproject.toml): finished with status 'error'
homeassistant  |         error: subprocess-exited-with-error
homeassistant  |
homeassistant  |         × Building wheel for numpy (pyproject.toml) did not run successfully.
homeassistant  |         │ exit code: 1
homeassistant  |         ╰─> [272 lines of output]
homeassistant  |             setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11.
homeassistant  |               warnings.warn(
homeassistant  |             Running from numpy source directory.
homeassistant  |             setup.py:86: DeprecationWarning:
homeassistant  |
homeassistant  |               `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
homeassistant  |               of the deprecation of `distutils` itself. It will be removed for
homeassistant  |               Python >= 3.12. For older Python versions it will remain present.
homeassistant  |               It is recommended to use `setuptools < 60.0` for those Python versions.
homeassistant  |               For more details, see:
homeassistant  |                 https://numpy.org/devdocs/reference/distutils_status_migration.html
homeassistant  |
homeassistant  |
homeassistant  |               import numpy.distutils.command.sdist
homeassistant  |             Processing numpy/random/_bounded_integers.pxd.in
homeassistant  |             Processing numpy/random/mtrand.pyx
homeassistant  |             Processing numpy/random/_sfc64.pyx
homeassistant  |             Processing numpy/random/_pcg64.pyx
homeassistant  |             Processing numpy/random/_common.pyx
homeassistant  |             Processing numpy/random/_philox.pyx
homeassistant  |             Processing numpy/random/bit_generator.pyx
homeassistant  |             Processing numpy/random/_mt19937.pyx
homeassistant  |             Processing numpy/random/_generator.pyx
homeassistant  |             Processing numpy/random/_bounded_integers.pyx.in
homeassistant  |             Cythonizing sources
homeassistant  |             INFO: blas_opt_info:
homeassistant  |             INFO: blas_armpl_info:
homeassistant  |             INFO: customize UnixCCompiler
homeassistant  |             INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: blas_mkl_info:
homeassistant  |             INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: blis_info:
homeassistant  |             INFO:   libraries blis not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: openblas_info:
homeassistant  |             INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: accelerate_info:
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_3_10_blas_threads_info:
homeassistant  |             INFO: Setting PTATLAS=ATLAS
homeassistant  |             INFO:   libraries tatlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_3_10_blas_info:
homeassistant  |             INFO:   libraries satlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_blas_threads_info:
homeassistant  |             INFO: Setting PTATLAS=ATLAS
homeassistant  |             INFO:   libraries ptf77blas,ptcblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_blas_info:
homeassistant  |             INFO:   libraries f77blas,cblas,atlas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             /tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/system_info.py:2077: UserWarning:
homeassistant  |                 Optimized (vendor) Blas libraries are not found.
homeassistant  |                 Falls back to netlib Blas library which has worse performance.
homeassistant  |                 A better performance should be easily gained by switching
homeassistant  |                 Blas library.
homeassistant  |               if self._calc_info(blas):
homeassistant  |             INFO: blas_info:
homeassistant  |             INFO:   libraries blas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             /tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/system_info.py:2077: UserWarning:
homeassistant  |                 Blas (http://www.netlib.org/blas/) libraries not found.
homeassistant  |                 Directories to search for the libraries can be specified in the
homeassistant  |                 numpy/distutils/site.cfg file (section [blas]) or by setting
homeassistant  |                 the BLAS environment variable.
homeassistant  |               if self._calc_info(blas):
homeassistant  |             INFO: blas_src_info:
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             /tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/system_info.py:2077: UserWarning:
homeassistant  |                 Blas (http://www.netlib.org/blas/) sources not found.
homeassistant  |                 Directories to search for the sources can be specified in the
homeassistant  |                 numpy/distutils/site.cfg file (section [blas_src]) or by setting
homeassistant  |                 the BLAS_SRC environment variable.
homeassistant  |               if self._calc_info(blas):
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             non-existing path in 'numpy/distutils': 'site.cfg'
homeassistant  |             INFO: lapack_opt_info:
homeassistant  |             INFO: lapack_armpl_info:
homeassistant  |             INFO:   libraries armpl_lp64_mp not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: lapack_mkl_info:
homeassistant  |             INFO:   libraries mkl_rt not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: openblas_lapack_info:
homeassistant  |             INFO:   libraries openblas not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: openblas_clapack_info:
homeassistant  |             INFO:   libraries openblas,lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: flame_info:
homeassistant  |             INFO:   libraries flame not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_3_10_threads_info:
homeassistant  |             INFO: Setting PTATLAS=ATLAS
homeassistant  |             INFO:   libraries tatlas,tatlas not found in /config/lsiopy/lib
homeassistant  |             INFO:   libraries tatlas,tatlas not found in /usr/local/lib
homeassistant  |             INFO:   libraries tatlas,tatlas not found in /usr/lib
homeassistant  |             INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_3_10_info:
homeassistant  |             INFO:   libraries satlas,satlas not found in /config/lsiopy/lib
homeassistant  |             INFO:   libraries satlas,satlas not found in /usr/local/lib
homeassistant  |             INFO:   libraries satlas,satlas not found in /usr/lib
homeassistant  |             INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_threads_info:
homeassistant  |             INFO: Setting PTATLAS=ATLAS
homeassistant  |             INFO:   libraries ptf77blas,ptcblas,atlas not found in /config/lsiopy/lib
homeassistant  |             INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
homeassistant  |             INFO:   libraries ptf77blas,ptcblas,atlas not found in /usr/lib
homeassistant  |             INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: atlas_info:
homeassistant  |             INFO:   libraries f77blas,cblas,atlas not found in /config/lsiopy/lib
homeassistant  |             INFO:   libraries f77blas,cblas,atlas not found in /usr/local/lib
homeassistant  |             INFO:   libraries f77blas,cblas,atlas not found in /usr/lib
homeassistant  |             INFO: <class 'numpy.distutils.system_info.atlas_info'>
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: lapack_info:
homeassistant  |             INFO:   libraries lapack not found in ['/config/lsiopy/lib', '/usr/local/lib', '/usr/lib']
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             /tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/system_info.py:1902: UserWarning:
homeassistant  |                 Lapack (http://www.netlib.org/lapack/) libraries not found.
homeassistant  |                 Directories to search for the libraries can be specified in the
homeassistant  |                 numpy/distutils/site.cfg file (section [lapack]) or by setting
homeassistant  |                 the LAPACK environment variable.
homeassistant  |               return getattr(self, '_calc_info_{}'.format(name))()
homeassistant  |             INFO: lapack_src_info:
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             /tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/system_info.py:1902: UserWarning:
homeassistant  |                 Lapack (http://www.netlib.org/lapack/) sources not found.
homeassistant  |                 Directories to search for the sources can be specified in the
homeassistant  |                 numpy/distutils/site.cfg file (section [lapack_src]) or by setting
homeassistant  |                 the LAPACK_SRC environment variable.
homeassistant  |               return getattr(self, '_calc_info_{}'.format(name))()
homeassistant  |             INFO:   NOT AVAILABLE
homeassistant  |             INFO:
homeassistant  |             INFO: numpy_linalg_lapack_lite:
homeassistant  |             INFO:   FOUND:
homeassistant  |             INFO:     language = c
homeassistant  |             INFO:     define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
homeassistant  |             INFO:
homeassistant  |             Warning: attempted relative import with no known parent package
homeassistant  |             /tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
homeassistant  |               warnings.warn(msg)
homeassistant  |             running bdist_wheel
homeassistant  |             running build
homeassistant  |             running config_cc
homeassistant  |             INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
homeassistant  |             running config_fc
homeassistant  |             INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
homeassistant  |             running build_src
homeassistant  |             INFO: build_src
homeassistant  |             INFO: building py_modules sources
homeassistant  |             creating build
homeassistant  |             creating build/src.linux-aarch64-3.11
homeassistant  |             creating build/src.linux-aarch64-3.11/numpy
homeassistant  |             creating build/src.linux-aarch64-3.11/numpy/distutils
homeassistant  |             INFO: building library "npymath" sources
homeassistant  |             WARN: Could not locate executable armflang
homeassistant  |             WARN: Could not locate executable gfortran
homeassistant  |             WARN: Could not locate executable f95
homeassistant  |             WARN: Could not locate executable ifort
homeassistant  |             WARN: Could not locate executable ifc
homeassistant  |             WARN: Could not locate executable lf95
homeassistant  |             WARN: Could not locate executable pgfortran
homeassistant  |             WARN: Could not locate executable nvfortran
homeassistant  |             WARN: Could not locate executable f90
homeassistant  |             WARN: Could not locate executable f77
homeassistant  |             WARN: Could not locate executable fort
homeassistant  |             WARN: Could not locate executable efort
homeassistant  |             WARN: Could not locate executable efc
homeassistant  |             WARN: Could not locate executable g77
homeassistant  |             WARN: Could not locate executable g95
homeassistant  |             WARN: Could not locate executable pathf95
homeassistant  |             WARN: Could not locate executable nagfor
homeassistant  |             WARN: Could not locate executable frt
homeassistant  |             WARN: don't know how to compile Fortran code on platform 'posix'
homeassistant  |
homeassistant  |
homeassistant  |             [Errno 2] No such file or directory: 'gcc'
homeassistant  |
homeassistant  |
homeassistant  |             Traceback (most recent call last):
homeassistant  |               File "/tmp/tmpnwl8kmjs_in_process.py", line 363, in <module>
homeassistant  |                 main()
homeassistant  |               File "/tmp/tmpnwl8kmjs_in_process.py", line 345, in main
homeassistant  |                 json_out['return_val'] = hook(**hook_input['kwargs'])
homeassistant  |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/tmpnwl8kmjs_in_process.py", line 261, in build_wheel
homeassistant  |                 return _build_backend().build_wheel(wheel_directory, config_settings,
homeassistant  |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
homeassistant  |                 return self._build_with_temp_dir(['bdist_wheel'], '.whl',
homeassistant  |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
homeassistant  |                 self.run_setup()
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
homeassistant  |                 self).run_setup(setup_script=setup_script)
homeassistant  |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
homeassistant  |                 exec(compile(code, __file__, 'exec'), locals())
homeassistant  |               File "setup.py", line 493, in <module>
homeassistant  |                 setup_package()
homeassistant  |               File "setup.py", line 485, in setup_package
homeassistant  |                 setup(**metadata)
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/core.py", line 169, in setup
homeassistant  |                 return old_setup(**new_attr)
homeassistant  |                        ^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 153, in setup
homeassistant  |                 return distutils.core.setup(**attrs)
homeassistant  |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
homeassistant  |                 dist.run_commands()
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
homeassistant  |                 self.run_command(cmd)
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
homeassistant  |                 cmd_obj.run()
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
homeassistant  |                 self.run_command('build')
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
homeassistant  |                 self.distribution.run_command(command)
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
homeassistant  |                 cmd_obj.run()
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/command/build.py", line 62, in run
homeassistant  |                 old_build.run(self)
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
homeassistant  |                 self.run_command(cmd_name)
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
homeassistant  |                 self.distribution.run_command(command)
homeassistant  |               File "/tmp/pip-build-env-ouix5opo/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
homeassistant  |                 cmd_obj.run()
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/command/build_src.py", line 144, in run
homeassistant  |                 self.build_sources()
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/command/build_src.py", line 155, in build_sources
homeassistant  |                 self.build_library_sources(*libname_info)
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/command/build_src.py", line 288, in build_library_sources
homeassistant  |                 sources = self.generate_sources(sources, (lib_name, build_info))
homeassistant  |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/distutils/command/build_src.py", line 378, in generate_sources
homeassistant  |                 source = func(extension, build_dir)
homeassistant  |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^
homeassistant  |               File "/tmp/pip-install-jrw7mifz/numpy_ad2856e28d914359acaf7f62898c2b03/numpy/core/setup.py", line 758, in get_mathlib_info
homeassistant  |                 raise RuntimeError(
homeassistant  |             RuntimeError: Broken toolchain: cannot link a simple C program.
homeassistant  |             [end of output]
homeassistant  |
homeassistant  |         note: This error originates from a subprocess, and is likely not a problem with pip.
homeassistant  |         ERROR: Failed building wheel for numpy
homeassistant  |       Failed to build numpy
homeassistant  |       ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
homeassistant  |       [end of output]
homeassistant  |
homeassistant  |   note: This error originates from a subprocess, and is likely not a problem with pip.
homeassistant  | error: subprocess-exited-with-error
homeassistant  |
homeassistant  | × pip subprocess to install build dependencies did not run successfully.
homeassistant  | │ exit code: 1
homeassistant  | ╰─> See above for output.
homeassistant  |
homeassistant  | note: This error originates from a subprocess, and is likely not a problem with pip.

Relevant Configuration

No response

Checklist Source Error

  • Use the example parameters for your source (often available in the documentation) (don’t forget to restart Home Assistant after changing the configuration)
  • Checked that the website of your service provider is still working
  • Tested my attributes on the service provider website (if possible)
  • I have tested with the latest version of the integration (master) (for HACS in the 3 dot menu of the integration click on “Redownload” and choose master as version)

Checklist Sensor Error

  • Checked in the Home Assistant Calendar tab if the event names match the types names (if types argument is used)

Required

  • I have searched past (closed AND opened) issues to see if this bug has already been reported, and it hasn’t been.
  • I understand that people give their precious time for free, and thus I’ve done my very best to make this problem as easy as possible to investigate.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

as shaply clearly does cause problems for some users (no matter whos fault it is), I would like to remove the dependency @julienboriasse could you rewrite your source to implement the needed part of shaply yourself or rewrite the source to not requeire shaply anymore. I would then release a 1.45.1 with the removed dependency