hacs-govee icon indicating copy to clipboard operation
hacs-govee copied to clipboard

Setup failed: Requirements for govee not found: ['dacite==1.6.0', 'govee-api-laggat==0.2.2'].

Open carlos-algms opened this issue 2 years ago • 3 comments

Version of the custom_component

0.2.2

Configuration

No custom configuration

Describe the bug

The plugins simply doesn't work

Debug log


Unable to install package govee-api-laggat==0.2.2: WARNING: Ignoring invalid distribution -xpect Unable to install package govee-api-laggat==0.2.2: 
WARNING: Ignoring invalid distribution -xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -6xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -5xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -5cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -4xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -4cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -3xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -3cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -2xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -2cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -1xpect (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -1cite (/lsiopy/lib/python3.11/site-packages) 
WARNING: Ignoring invalid distribution -0xpect (/lsiopy/lib/python3.11/site-packages)

The same lines of log keeps repeating.

carlos-algms avatar Jun 16 '23 12:06 carlos-algms

Here is some more debug logging info if it helps...

2023-07-06 16:58:21.071 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package govee-api-laggat==0.2.2: error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: -11
  ╰─> [22 lines of output]
      /usr/local/lib/python3.11/site-packages/setuptools/dist.py:745: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!
      
              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.
      
              By 2023-Sep-26, you need to update your project and remove deprecated calls
              or your builds will no longer be supported.
      
              See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
              ********************************************************************************
      
      !!
        opt = self.warn_dash_deprecation(opt, section)
      running egg_info
      creating /tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info
      writing /tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info/dependency_links.txt
      writing requirements to /tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info/requires.txt
      writing top-level names to /tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info/top_level.txt
      writing manifest file '/tmp/pip-pip-egg-info-dlmu8qqz/bios.egg-info/SOURCES.txt'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
2023-07-06 16:58:21.073 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of govee-api-laggat==0.2.2
2023-07-06 16:58:25.692 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package govee-api-laggat==0.2.2: 
2023-07-06 16:58:25.692 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of govee-api-laggat==0.2.2
2023-07-06 16:58:28.407 ERROR (SyncWorker_2) [homeassistant.util.package] Unable to install package govee-api-laggat==0.2.2: 
2023-07-06 16:58:28.419 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of dacite==1.6.0
2023-07-06 16:58:41.605 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration govee: Requirements for govee not found: ['govee-api-laggat==0.2.2'].

DAE51D avatar Jul 07 '23 00:07 DAE51D

I am not sure if this is related but some plugins are upgrading dacite to 1.8.x and causing the govee plugin to crash.

The roborock plugin is one example of this.

It would be nice to get this plugin on a new dacite version.

inertia666 avatar Nov 15 '23 08:11 inertia666

My latest HA dacite is 1.8.1 and the manifest for this plugin says 1.8.0...but the plugin is working for me

inertia666 avatar Nov 15 '23 08:11 inertia666