Closed terual closed 2 years ago
I've seen this too. I'm not totally sure why as I am new to this, but my hunch is that the problem lies with the fact that https://github.com/tillsteinbach/WeConnect-python specifies a dependency on requests
, which apparently is not allowed:
Custom integrations should only include requirements that are not required by the Core requirements.txt.
Is there some way to suppress/override that?
Upgrading to the latest version of WeConnect-python fixes the issues, because the upstream maintainer has upgraded requests.
Thanks! Bumping weconnect to 0.44.2 fixes the problem.
Should be fixed in latest version https://github.com/mitch-dc/volkswagen_we_connect_id/releases/tag/v0.0.11
Note this solution seems to have caused errors for me.
I'm using HA OS, and I am a few major versions behind on HA core. (2022.3.8)
`Logger: homeassistant.util.package Source: util/package.py:99 First occurred: July 8, 2022 at 9:25:21 PM (3 occurrences) Last logged: July 8, 2022 at 9:26:46 PM
Unable to install package weconnect==0.44.2: ERROR: Cannot install weconnect==0.44.2 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.`
In the HA core 2022.7.0 release notes (available 3 days ago...) I recall reading they bumped the python version. I suspect this is the cause of the above error, and I will look into upgrading to resolve. (Need to check if the blocker issue on another integration is resolved yet and find an appropriate moment) If this does not resolve the issue, I will of course raise a separate issue here. I still wanted to share this information in case anyone else encounters it and comes searching.
I'm not sure if the change log of this component can be updated retroactively, if so and if it's confirmed the python upgrade is a dependency, it would be appropriate to add a dependency warning.
Version of the custom_component
Latest git
Installation method (hacs / manual)
manual
Installation method of hass (venv, docker, hassio,...)
hassio
Configuration
Not yet able to configure
Describe the bug
Integration is not able to install weconnect python package
Debug log