Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 #182

Closed
Chris383838 opened this issue Jun 6, 2023 · 26 comments
Closed

Comments

@Chris383838
Copy link

Chris383838 commented Jun 6, 2023

Hallo,

We connect id -> 1.6

Home Assistant 2023.6.0b5
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230605.0 - latest

Logger: homeassistant.util.package
Source: util/package.py:107
First occurred: 21:32:02 (3 occurrences)
Last logged: 21:32:11

Unable to install package weconnect>=0.54.0: ERROR: Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 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

@Chris383838 Chris383838 changed the title Unable to install package weconnect>=0.54.0 Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 because Jun 6, 2023
@Chris383838 Chris383838 changed the title Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 because Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 Jun 6, 2023
@ColinRobbins
Copy link
Contributor

Same here with...

Home Assistant 2023.6.0b6
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230606.0 - latest

@chrjsorg
Copy link

chrjsorg commented Jun 7, 2023

Seems to be a problem with HASS 2023.6. Just got it after upgrading.

@Lucasheimer
Copy link

I have the same problem since the upgrade to 2023.6.
This could be the upgrade of HA to python version 3.11 as mentioned in the release logs.

@dracos1985
Copy link

dracos1985 commented Jun 7, 2023

Same here - been broken for this entire beta run and subsequent release

Screenshot_20230607-220441

@wgumaa
Copy link

wgumaa commented Jun 8, 2023

Same issue after upgrading HA last night.

@davidwalton0
Copy link

Same error here too - integration can't load after upgrading HA yesterday:

Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230607.0 - latest

Setup failed for custom integration volkswagen_we_connect_id: Requirements for volkswagen_we_connect_id not found: ['weconnect>=0.54.0'].
07:41:52 – (ERROR) setup.py
Unable to install package weconnect>=0.54.0: ERROR: Cannot install weconnect==0.54.1, weconnect==0.54.2 and weconnect==0.55.0 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

@sebking1971
Copy link

Same here, just updated HA to latest and now cannot load this integration.

@jcsogo
Copy link

jcsogo commented Jun 8, 2023

The problem is actually in weconnect library, that this project depends on.
weconnect requires requests~=2.29.0
homeassistant comes with requests 2.31.0

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
weconnect 0.55.0 requires requests~=2.29.0, but you have requests 2.31.0 which is incompatible.

@vistalba
Copy link

vistalba commented Jun 8, 2023

There is already a working version for Cupra Born which was linked in HA Community: https://github.com/daernsinstantfortress/volkswagen_we_connect_id/archive/8ceb117c78f270095da34943d1a69c3192a4ff8e.zip

May this helps to find how to get it working here too?

@estragonator
Copy link

Please correct me since my knowledge about how python libraries work is very limited - but the requirement of the original weconnect lib was already updated: tillsteinbach/WeConnect-python@c959840
There was just no new version released since version 0.55.0 which has the outdated requirement.

@TravisWilder
Copy link

Please correct me since my knowledge about how python libraries work is very limited - but the requirement of the original weconnect lib was already updated: tillsteinbach/WeConnect-python@c959840 There was just no new version released since version 0.55.0 which has the outdated requirement.

Hi yes ... on 23th May but there was no release after it. So it will be included in the 0.56 (which is still pending)

@estragonator
Copy link

estragonator commented Jun 9, 2023

I have managed to get it working with a temporary solution until the dependencies are fixed, but I had to make my own fork of the library for it.
Then changing the manifest.json line to this (try at your own risk since I WILL delete that fork when it is not needed anymore):
"requirements": ["git+https://github.com/estragonator/WeConnect-python.git@main#weconnect==0.56.0", "ascii_magic>=2.0.0"],
Edit: dont use the above anymore, if you cant wait for mitch-dc use:
"requirements": ["weconnect==0.55.1", "ascii_magic>=2.0.0"],

@TravisWilder
Copy link

There is an upgrade request already triggered: tillsteinbach/WeConnect-python#133

@TravisWilder
Copy link

@mitch-dc please update as well .. the lib has now 0.55.1 which is supporting 0.31

@woutercoppens
Copy link

@TravisWilder: that was fast. Your post was faster then I received feedback from Stein.

@Lucasheimer
Copy link

Changed the value manually in the manifest.json and rebooted HA. Works perfect again ;) so if you don't want to wait, that'll fix it until a new version :)

@TravisWilder
Copy link

Changed the value manually in the manifest.json and rebooted HA. Works perfect again ;) so if you don't want to wait, that'll fix it until a new version :)

works for me as well

@Chris383838
Copy link
Author

["git+https://github.com/estragonator/WeConnect-python.git@main#weconnect==0.56.0", "ascii_magic>=2.0.0"],

For me also

@wgumaa
Copy link

wgumaa commented Jun 9, 2023

Changed the value manually in the manifest.json and rebooted HA. Works perfect again ;) so if you don't want to wait, that'll fix it until a new version :)

For those of us who are not so competent in this, can you provide a step by step guide?

@TravisWilder
Copy link

Changed the value manually in the manifest.json and rebooted HA. Works perfect again ;) so if you don't want to wait, that'll fix it until a new version :)

For those of us who are not so competent in this, can you provide a step by step guide?

I used the Studio Code Server
Open /config/custom_components/volkswagen_we_connect_id/manifest.json
change the requirements line to
"requirements": ["weconnect>=0.55.1", "ascii_magic>=2.0.0"],

@wgumaa
Copy link

wgumaa commented Jun 9, 2023

Changed the value manually in the manifest.json and rebooted HA. Works perfect again ;) so if you don't want to wait, that'll fix it until a new version :)

For those of us who are not so competent in this, can you provide a step by step guide?

I used the Studio Code Server Open /config/custom_components/volkswagen_we_connect_id/manifest.json change the requirements line to "requirements": ["weconnect>=0.55.1", "ascii_magic>=2.0.0"],

Managed to do it with File Editor! Nice! Thanks!!

@davidwalton0
Copy link

Me too (File Editor) - and the integration works perfectly now - until the next unexpected change!
Until then, thank you @TravisWilder 🙏 - great instructions! 👍

flixlix added a commit to flixlix/volkswagen_we_connect_id that referenced this issue Jun 9, 2023
This PR fixes the issue people are having with the integration when using Home Assistant Version 2023.06 and above.
Fixes the issue mitch-dc#182
@flixlix
Copy link
Contributor

flixlix commented Jun 9, 2023

Created this PR to fix this issue

@mitch-dc
Copy link
Owner

https://github.com/mitch-dc/volkswagen_we_connect_id/releases/tag/v0.1.7

Thanks @flixlix

@gadgetbazza
Copy link

Strangely I still have this issue, albeit with HA 2023.5.4 using tag 0.1.7.

I've opened issue 187 accordingly.

Or is the answer to move up to HA 2023.6?

@TravisWilder
Copy link

Update to 2023.6 or stay with <0.1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests