diff --git a/Dockerfile b/Dockerfile index a8423a05..76eca682 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,16 +63,9 @@ ARG MYSQLCLIENT_PKG WORKDIR /app COPY --from=builder /app/requirements.txt /app -# Due to a build error that occurs with the Python cryptography package, we -# have to set this env var to prevent the cryptography package from building -# with Rust. See this link for more information: -# https://pythonshowcase.com/question/problem-installing-cryptography-on-raspberry-pi -ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1 RUN \ apt-get -q update && apt-get -qy install wget - - RUN \ groupadd --gid 10001 app && \ useradd --uid 10001 --gid 10001 --home /app --create-home app && \ diff --git a/requirements.txt b/requirements.txt index 49453e86..578b97fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,3 @@ -# We pin cryptography to 3.4.8 due to a build error that occurs with the -# current version (36.0.0 at the time of this commit). In short, building -# the cryptography package with Rust results in a segfault, so we need to -# set the CRYPTOGRAPHY_DONT_BUILD_RUST env var to force the package to build -# with C instead. This env var is only present in cryptography<3.5. -cryptography==42.0.8 +cryptography==44.0.2 pyfxa==0.7.7 tokenlib==2.0.0 diff --git a/tools/integration_tests/requirements.txt b/tools/integration_tests/requirements.txt index 9b73a12c..ed1e2eeb 100644 --- a/tools/integration_tests/requirements.txt +++ b/tools/integration_tests/requirements.txt @@ -1,4 +1,4 @@ -cryptography==43.0.1 +cryptography==44.0.2 hawkauthlib konfig mysqlclient