Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit e787fb7

Browse files
Switch to our fork of dh-virtualenv for compatibility with Python 3.11 (#14774)
1 parent 906dfaa commit e787fb7

File tree

3 files changed

+69
-52
lines changed

3 files changed

+69
-52
lines changed

changelog.d/14774.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Switch to our fork of `dh-virtualenv` to work around an upstream Python 3.11 incompatibility.

docker/Dockerfile-dhvirtualenv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get install \
3636
wget
3737

3838
# fetch and unpack the package
39+
# We are temporarily using a fork of dh-virtualenv due to an incompatibility with Python 3.11, which ships with
40+
# Debian sid. TODO: Switch back to upstream once https://github.com/spotify/dh-virtualenv/pull/354 has merged.
3941
RUN mkdir /dh-virtualenv
40-
RUN wget -q -O /dh-virtualenv.tar.gz https://github.com/spotify/dh-virtualenv/archive/refs/tags/1.2.2.tar.gz
42+
RUN wget -q -O /dh-virtualenv.tar.gz https://github.com/matrix-org/dh-virtualenv/archive/refs/tags/matrixorg-2023010302.tar.gz
4143
RUN tar -xv --strip-components=1 -C /dh-virtualenv -f /dh-virtualenv.tar.gz
4244

4345
# install its build deps. We do another apt-cache-update here, because we might

poetry.lock

Lines changed: 65 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)