benleb / surepy

šŸ¾ Library & CLI to monitor and control the Pet Door & Cat Flap Connect šŸšŖ the Pet Feeder Connect šŸ½ and the Felaqua šŸ’¦ sold by Sure Petcare
https://pypi.org/project/surepy/
MIT License
76 stars 36 forks source link

Package dependency conflicts #111

Closed RogerSelwyn closed 11 months ago

RogerSelwyn commented 2 years ago

I've just noticed in my dev environment that there is a conflict installing surepy. HA is asking for surepy==0.7.2, and sureha is asking for surepy>=0.7.2 so I don't think that is the direct issue. When I try to install surepy as below (because HA has upgraded the version of pip they are installing, so have added the use-deprecated parameter), I get the error at the bottom.:

pip install surepy --use-deprecated=legacy-resolver

ERROR: pip's legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts.
aiohttp 3.8.1 requires async-timeout<5.0,>=4.0.0a3, but you'll have async-timeout 3.0.1 which is incompatible.
homeassistant 2022.3.0.dev0 requires async_timeout==4.0.2, but you'll have async-timeout 3.0.1 which is incompatible.
Successfully installed Brotli-1.0.9 aiodns-3.0.0 async-timeout-3.0.1 cchardet-2.1.7 colorama-0.4.4 commonmark-0.9.1 pycares-4.1.2 pygments-2.11.2 rich-10.16.2 surepy-0.7.2