Skip to content

Commit e93bb88

Browse files
authored
chore: update python cryptography (#1690)
1 parent dadbcea commit e93bb88

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,9 @@ ARG MYSQLCLIENT_PKG
6363

6464
WORKDIR /app
6565
COPY --from=builder /app/requirements.txt /app
66-
# Due to a build error that occurs with the Python cryptography package, we
67-
# have to set this env var to prevent the cryptography package from building
68-
# with Rust. See this link for more information:
69-
# https://pythonshowcase.com/question/problem-installing-cryptography-on-raspberry-pi
70-
ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
7166

7267
RUN \
7368
apt-get -q update && apt-get -qy install wget
74-
75-
7669
RUN \
7770
groupadd --gid 10001 app && \
7871
useradd --uid 10001 --gid 10001 --home /app --create-home app && \

requirements.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# We pin cryptography to 3.4.8 due to a build error that occurs with the
2-
# current version (36.0.0 at the time of this commit). In short, building
3-
# the cryptography package with Rust results in a segfault, so we need to
4-
# set the CRYPTOGRAPHY_DONT_BUILD_RUST env var to force the package to build
5-
# with C instead. This env var is only present in cryptography<3.5.
6-
cryptography==42.0.8
1+
cryptography==44.0.2
72
pyfxa==0.7.7
83
tokenlib==2.0.0

tools/integration_tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cryptography==43.0.1
1+
cryptography==44.0.2
22
hawkauthlib
33
konfig
44
mysqlclient

0 commit comments

Comments
 (0)