From eef303dfea7a1bc4a83b017e0290737eeede2969 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 4 Apr 2023 07:04:10 +1000 Subject: [PATCH] Cryptography version update (#4568) * Update required cryptography library version * remove old env variable from dockerfile - Was required when we based on alpine linux - now we use python_slim * Fix file contents --- Dockerfile | 3 --- requirements.in | 2 +- requirements.txt | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2b79feb7d7..4936e4e49e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,9 +19,6 @@ ARG commit_tag="" ENV PYTHONUNBUFFERED 1 -# Ref: https://github.com/pyca/cryptography/issues/5776 -ENV CRYPTOGRAPHY_DONT_BUILD_RUST 1 - ENV INVENTREE_LOG_LEVEL="WARNING" ENV INVENTREE_DOCKER="true" diff --git a/requirements.in b/requirements.in index 945a620429..bed603ad1e 100644 --- a/requirements.in +++ b/requirements.in @@ -1,7 +1,7 @@ # Please keep this list sorted - if you pin a version provide a reason Django>=3.2.14,<4 # Django package coreapi # API documentation for djangorestframework -cryptography==3.4.8 # Core cryptographic functionality +cryptography>=40.0.0 # Core cryptographic functionality django-allauth # SSO for external providers via OpenID django-allauth-2fa # MFA / 2FA django-cleanup # Automated deletion of old / unused uploaded files diff --git a/requirements.txt b/requirements.txt index 18299fa47d..ae38b49a5b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,7 +30,7 @@ coreapi==2.3.3 # via -r requirements.in coreschema==0.0.4 # via coreapi -cryptography==3.4.8 +cryptography==40.0.1 # via # -r requirements.in # pyjwt