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

Commit

Permalink
Switch to our fork of dh-virtualenv for compatibility with Python 3.11 (
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 authored Jan 4, 2023
1 parent 906dfaa commit e787fb7
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 52 deletions.
1 change: 1 addition & 0 deletions changelog.d/14774.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Switch to our fork of `dh-virtualenv` to work around an upstream Python 3.11 incompatibility.
4 changes: 3 additions & 1 deletion docker/Dockerfile-dhvirtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
116 changes: 65 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e787fb7

Please sign in to comment.