My install always complains about pip being old whenever I update or install something. Appdaemon this last time.
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/bin/python3.9 -m pip install --upgrade pip' command.
But at the same time I tried to upgrade pip in a testing install and HA complains about it has a pip dependency on v22.0.4.
So is it safe to upgrade pip? And what about other dependencies like:
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.
homeassistant 2022.6.2 requires bcrypt==3.1.7, but you have bcrypt 3.2.0 which is incompatible.
homeassistant 2022.6.2 requires jinja2==3.1.2, but you have jinja2 3.0.3 which is incompatible.
homeassistant 2022.6.2 requires requests==2.27.1, but you have requests 2.26.0 which is incompatible.
homeassistant 2022.6.2 requires voluptuous==0.13.1, but you have voluptuous 0.12.2 which is incompatible.
I have Home Assistant manually installed in a linux container.
Edit:
$ pip install requests --upgrade
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: requests in /home/homeassistant/.local/lib/python3.9/site-packages (2.26.0)
Collecting requests
Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/homeassistant/.local/lib/python3.9/site-packages (from requests) (2022.5.18.1)
Requirement already satisfied: charset-normalizer<3,>=2 in /usr/local/lib/python3.9/dist-packages (from requests) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests) (1.26.5)
Installing collected packages: requests
Attempting uninstall: requests
Found existing installation: requests 2.26.0
Uninstalling requests-2.26.0:
Successfully uninstalled requests-2.26.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.
homeassistant 2022.6.2 requires bcrypt==3.1.7, but you have bcrypt 3.2.0 which is incompatible.
homeassistant 2022.6.2 requires jinja2==3.1.2, but you have jinja2 3.0.3 which is incompatible.
homeassistant 2022.6.2 requires requests==2.27.1, but you have requests 2.28.1 which is incompatible.
homeassistant 2022.6.2 requires voluptuous==0.13.1, but you have voluptuous 0.12.2 which is incompatible.
appdaemon 4.2.1 requires requests==2.26.0, but you have requests 2.28.1 which is incompatible.
Successfully installed requests-2.28.1
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/usr/bin/python3.9 -m pip install --upgrade pip' command.
I don’t think I understand. HA is not forward compatible?
Ok, I upgraded HA and now the problem is only appdaemon.
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.
appdaemon 4.2.1 requires bcrypt==3.2.0, but you have bcrypt 3.1.7 which is incompatible.
appdaemon 4.2.1 requires Jinja2==3.0.3, but you have jinja2 3.1.2 which is incompatible.
appdaemon 4.2.1 requires requests==2.26.0, but you have requests 2.28.1 which is incompatible.
appdaemon 4.2.1 requires voluptuous==0.12.2, but you have voluptuous 0.13.1 which is incompatible.
But the first question still remains