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

Commit 81003d1

Browse files
author
David Robertson
committed
Patch requirements.txt to workaround twisted pain
1 parent 1e2fab6 commit 81003d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ COPY pyproject.toml poetry.lock README.rst /synapse/
6363

6464
RUN /root/.local/bin/poetry export --extras all -o /synapse/requirements.txt
6565

66+
# Workaround https://github.com/pypa/pip/issues/9644. Without this, pip tries to install
67+
# Twisted[tls] using the latest twisted and fails; it doesn't realisie that there is
68+
# already a version of twisted given in the requirments.
69+
RUN sed -i /synapse/requirements.txt -e 's/'
70+
6671
###
6772
### Stage 1: builder
6873
###

0 commit comments

Comments
 (0)