question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pip dependency conflict on HA 2022.5

See original GitHub issue

Describe the bug A clear and concise description of what the bug is.

It looks like there’s a pip depency conflict in the latest HA 2022.5 dev version. Beta will be release today too but I assume the conflict will still be there so opening this in advance.

To Reproduce Steps to reproduce the behavior:

  1. Update to HA core-2022.5.0.dev20220427
  2. See error

System details

  • Home-assistant (version): core-2022.5.0.dev20220427
  • Hassio (Yes/No): Yes
  • alexa_media (version from const.py or HA startup): 3.11.2
  • alexapy (version from pip show alexapy or HA startup): 1.25.3
  • Amazon 2FA is enabled (y/n). We will not debug login issues if unanswered: Yes

Logs Please provide logs. We’ll be most likely asking for them anyway.

2022-04-27 12:34:16 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package alexapy==1.25.3: ERROR: Cannot install alexapy==1.25.3 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.0.4 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
2022-04-27 12:34:20 ERROR (SyncWorker_3) [homeassistant.util.package] Unable to install package alexapy==1.25.3: ERROR: Cannot install alexapy==1.25.3 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.0.4 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
2022-04-27 12:34:24 ERROR (SyncWorker_6) [homeassistant.util.package] Unable to install package alexapy==1.25.3: ERROR: Cannot install alexapy==1.25.3 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.0.4 is available.
You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
2022-04-27 12:34:24 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration alexa_media: Requirements for alexa_media not found: ['alexapy==1.25.3'].
2022-04-27 12:34:24 ERROR (MainThread) [homeassistant.config] Platform error: notify - Integration 'alexa_media' not found.

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:5
  • Comments:11

github_iconTop GitHub Comments

7reactions
dreimer1986commented, Apr 28, 2022

Changing alexapy version in manifest.json to 1.25.5 fixes the problem. Thanks for the quick fix 😄

3reactions
regevbrcommented, Apr 27, 2022

Also have problems in version 2022.5.0b0, but there is no error in the logs.

Then I will activate the debug and return here … image

Using that version as well - logs show the following error:

Unable to install package alexapy==1.25.3: ERROR: Cannot install alexapy==1.25.3 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.0.4 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it safe to upgrade pip? - Home Assistant Community
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the ......
Read more >
Dependency Resolution - pip documentation v22.3.1
The process of determining which version of a dependency to install is known as dependency resolution. This behaviour can be disabled by passing...
Read more >
How to resolve Python package dependencies with pipenv?
First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again. Alternatively, you can use $ pipenv...
Read more >
Dependency resolution conflict on universal2 with pip 22.3 ...
Hello, We're trying to build PyArrow binary wheels for Python 3.11. Everything works fine except for macOS universal2 with Python 3.11, ...
Read more >
Dependency Management with Pip, Python's Package Manager
But if packages are installed one at a time, it may lead to dependency conflicts. A common scenario may involve an initially installed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found