diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-01-04 16:26:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 16:26:29 +0000 |
commit | e787fb776cc4ce7cdb923a823d571fa57c3c92cb (patch) | |
tree | 257bc04ddb4b83c04de740c5294ec822af5a3af6 /docker | |
parent | Support non-OpenID compliant user info endpoints (#14753) (diff) | |
download | synapse-e787fb776cc4ce7cdb923a823d571fa57c3c92cb.tar.xz |
Switch to our fork of dh-virtualenv for compatibility with Python 3.11 (#14774)
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile-dhvirtualenv | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/Dockerfile-dhvirtualenv b/docker/Dockerfile-dhvirtualenv index f3b5b00ce6..2013732422 100644 --- a/docker/Dockerfile-dhvirtualenv +++ b/docker/Dockerfile-dhvirtualenv @@ -36,8 +36,10 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get install \ wget # fetch and unpack the package +# We are temporarily using a fork of dh-virtualenv due to an incompatibility with Python 3.11, which ships with +# Debian sid. TODO: Switch back to upstream once https://github.com/spotify/dh-virtualenv/pull/354 has merged. RUN mkdir /dh-virtualenv -RUN wget -q -O /dh-virtualenv.tar.gz https://github.com/spotify/dh-virtualenv/archive/refs/tags/1.2.2.tar.gz +RUN wget -q -O /dh-virtualenv.tar.gz https://github.com/matrix-org/dh-virtualenv/archive/refs/tags/matrixorg-2023010302.tar.gz RUN tar -xv --strip-components=1 -C /dh-virtualenv -f /dh-virtualenv.tar.gz # install its build deps. We do another apt-cache-update here, because we might |