Hi,
I’ve recently decided to rebuild my HA venv from scratch because of some odd behavior. I’ve just run the command:
$ pip3 install -r requirements_test_all.txt
and found the following errors in the log:
ERROR: python-jose-cryptodome 1.3.2 has requirement pycryptodome<3.4.0,>=3.3.1, but you-ll have pycryptodome 3.8.1 which is incompatible.
ERROR: boto3 1.9.139 has requirement botocore<1.13.0,>=1.12.139, but you-ll have botocore 1.12.91 which is incompatible.
I’ve trawled through the log and I think that it is due to a conflict between these three entries in requirements_test_all.txt
:
# homeassistant.components.ps4
pyps4-homeassistant==0.7.2
# homeassistant.components.aws
aiobotocore==0.10.2
# homeassistant.components.cloud
hass-nabucasa==0.12
Evidence:
Collecting pycryptodomex>=3.7.2 (from pyps4-homeassistant==0.7.2->-r requirements_test_all.txt (line 252))
Using cached https://files.pythonhosted.org/packages/05/86/92b303bc4ed00451401e99e90003d5361fb054b9af9af2490b1b44caeaef/pycryptodomex-3.8.1.tar.gz
Collecting python-jose-cryptodome>=1.3.2 (from warrant==0.6.1->hass-nabucasa==0.12->-r requirements_test_all.txt (line 133))
Downloading https://files.pythonhosted.org/packages/60/c6/216e7178c0b4df1d5f87444d615114ce87d54556cb1f7ba3fac0262653d2/python_jose_cryptodome-1.3.2-py2.py3-none-any.whl
and
Collecting aiobotocore==0.10.2 (from -r requirements_test_all.txt (line 45))
Using cached https://files.pythonhosted.org/packages/e9/76/83e2a869bb47ab8fa2d156bd0f2876711303f7fd3d1d4c5eaa9d3aede914/aiobotocore-0.10.2-py3-none-any.whl
Collecting botocore<1.12.92,>=1.12.91 (from aiobotocore==0.10.2->-r requirements_test_all.txt (line 45))
Using cached https://files.pythonhosted.org/packages/75/6a/de557b897a67930cb8ba5df9d3088c0bd5d71e34b1c242984a04325d9754/botocore-1.12.91-py2.py3-none-any.whl
Collecting boto3>=1.4.3 (from warrant==0.6.1->hass-nabucasa==0.12->-r requirements_test_all.txt (line 133))
Downloading https://files.pythonhosted.org/packages/1b/6f/36b51dfcc87d8eb7fae7abb5f69c65ac0c062657fd4a4a1e68c3bbe3ea8c/boto3-1.9.139-py2.py3-none-any.whl (128kB)
I don’t think that I need these packages at the moment but I thought that I would report this here in case it is of any help.
Regards,
Phil
EDIT: I was wondering whether the command in the section about testing outside of tox should be updated to use the homeassistant/package_constraints.txt
file. However, I note that in there the version of boto3 is not specified and the version of pycryptodome is set to >= 3.6.6
which would also be incompatible with python-jose-cryptodome
so I’m still confused.