From 27d4b3b8ad51359eeaa00ed9f37d1c88f72cd84d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2020 11:43:10 +0200 Subject: [PATCH] Update cryptography requirement from <3,>=2.0.0 to >=2.0.0,<4 (#1206) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Otto Winter --- esphome/components/wifi/wpa2_eap.py | 2 -- requirements_test.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/esphome/components/wifi/wpa2_eap.py b/esphome/components/wifi/wpa2_eap.py index 5b83c59866..8bf50598b0 100644 --- a/esphome/components/wifi/wpa2_eap.py +++ b/esphome/components/wifi/wpa2_eap.py @@ -114,8 +114,6 @@ def _check_private_key_cert_match(key, cert): def validate_eap(value): - validate_cryptography_installed() - if CONF_USERNAME in value: if CONF_IDENTITY not in value: _LOGGER.info("EAP 'identity:' is not set, assuming username.") diff --git a/requirements_test.txt b/requirements_test.txt index 179f683b32..e9846fb29c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,7 +1,7 @@ pylint==2.5.3 flake8==3.8.3 pillow>4.0.0 -cryptography>=2.0.0,<3 +cryptography>=2.0.0,<4 pexpect==4.8.0 # Unit tests