chore: update python cryptography (#1690)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled

This commit is contained in:
Philip Jenvey 2025-04-18 13:33:10 -07:00 committed by GitHub
parent dadbcea3f7
commit e93bb8821c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 14 deletions

View File

@ -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 && \

View File

@ -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

View File

@ -1,4 +1,4 @@
cryptography==43.0.1
cryptography==44.0.2
hawkauthlib
konfig
mysqlclient