From e2505433a20a68844a3b99c331c0ef6893bff386 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 15 May 2023 08:27:26 +1000 Subject: [PATCH] Docker build fix (#4811) * Attempt to fix crypto build on raspbian * Run CI if requirements files change --- .github/workflows/qc_checks.yaml | 2 ++ requirements.in | 2 +- requirements.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index ff8a7cc695..25e265800e 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -37,6 +37,8 @@ jobs: filters: | server: - 'InvenTree/**' + - 'requirements.txt' + - 'requirements-dev.txt' pep_style: name: Style [Python] diff --git a/requirements.in b/requirements.in index dec51e3454..1853bac647 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>=40.0.0 # Core cryptographic functionality +cryptography>=40.0.0,!=40.0.2 # 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 b751b5dd8a..2b8149a19f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ coreapi==2.3.3 # via -r requirements.in coreschema==0.0.4 # via coreapi -cryptography==40.0.2 +cryptography==40.0.1 # via # -r requirements.in # pyjwt