From 7698c179ac7ed5db59a30e49aeb7a324b064319f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 21 Sep 2021 11:06:52 +0200 Subject: [PATCH] Upgrade cryptography to 3.4.8 (#56481) * Upgrade cryptography to 3.4.8 * Fix file --- .github/workflows/wheels.yml | 4 ++-- homeassistant/package_constraints.txt | 2 +- requirements.txt | 2 +- requirements_test.txt | 1 - setup.py | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 578cc024738..9cced377f8c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -89,7 +89,7 @@ jobs: wheels-key: ${{ secrets.WHEELS_KEY }} wheels-user: wheels env-file: true - apk: "build-base;cmake;git;linux-headers;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev" + apk: "build-base;cmake;git;linux-headers;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;cargo" pip: "Cython;numpy" skip-binary: aiohttp constraints: "homeassistant/package_constraints.txt" @@ -158,7 +158,7 @@ jobs: wheels-key: ${{ secrets.WHEELS_KEY }} wheels-user: wheels env-file: true - apk: "build-base;cmake;git;linux-headers;libexecinfo-dev;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;autoconf;automake;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev" + apk: "build-base;cmake;git;linux-headers;libexecinfo-dev;bluez-dev;libffi-dev;openssl-dev;glib-dev;eudev-dev;libxml2-dev;libxslt-dev;libpng-dev;libjpeg-turbo-dev;tiff-dev;autoconf;automake;cups-dev;gmp-dev;mpfr-dev;mpc1-dev;ffmpeg-dev;gammu-dev;cargo" pip: "Cython;numpy;scikit-build" skip-binary: aiohttp constraints: "homeassistant/package_constraints.txt" diff --git a/homeassistant/package_constraints.txt b/homeassistant/package_constraints.txt index 10d5906401e..70d1fddc790 100644 --- a/homeassistant/package_constraints.txt +++ b/homeassistant/package_constraints.txt @@ -12,7 +12,7 @@ backports.zoneinfo;python_version<"3.9" bcrypt==3.1.7 certifi>=2020.12.5 ciso8601==2.1.3 -cryptography==3.3.2 +cryptography==3.4.8 defusedxml==0.7.1 emoji==1.2.0 hass-nabucasa==0.49.0 diff --git a/requirements.txt b/requirements.txt index 7f986750b81..a9d9bc0d238 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,7 +13,7 @@ ciso8601==2.1.3 httpx==0.19.0 jinja2==3.0.1 PyJWT==2.1.0 -cryptography==3.3.2 +cryptography==3.4.8 pip>=8.0.3,<20.3 python-slugify==4.0.1 pyyaml==5.4.1 diff --git a/requirements_test.txt b/requirements_test.txt index e23ebbc38d5..ce122687c33 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -32,7 +32,6 @@ types-croniter==1.0.0 types-backports==0.1.3 types-certifi==0.1.4 types-chardet==0.1.5 -types-cryptography==3.3.2 types-decorator==0.1.7 types-emoji==1.2.4 types-enum34==0.1.8 diff --git a/setup.py b/setup.py index 852cc89bbc5..38febf7c3a0 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ REQUIRES = [ "jinja2==3.0.1", "PyJWT==2.1.0", # PyJWT has loose dependency. We want the latest one. - "cryptography==3.3.2", + "cryptography==3.4.8", "pip>=8.0.3,<20.3", "python-slugify==4.0.1", "pyyaml==5.4.1",