From 3d08601796b4fb120259f7c78f821c8962fa4b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> Date: Sun, 5 Jul 2020 12:04:00 +0300 Subject: [PATCH] Use package constraints in tox lint (#37500) Otherwise fails with pip._vendor.pkg_resources.ContextualVersionConflict: (importlib-metadata 1.7.0 (.../.tox/lint/lib/python3.7/site-packages), Requirement.parse('importlib-metadata==1.6.0'), {'homeassistant'}) --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 88ef4124c7f..7c9e52bf7af 100644 --- a/tox.ini +++ b/tox.ini @@ -31,6 +31,7 @@ commands = [testenv:lint] deps = -r{toxinidir}/requirements_test.txt + -c{toxinidir}/homeassistant/package_constraints.txt commands = python -m script.gen_requirements_all validate python -m script.hassfest --action validate -- GitLab