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

Commit

Permalink
Patch requirements.txt to workaround twisted pain
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Apr 11, 2022
1 parent 1e2fab6 commit e24ecf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ COPY pyproject.toml poetry.lock README.rst /synapse/

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

# Workaround https://github.com/pypa/pip/issues/9644. Without this, pip tries to install
# Twisted[tls] using the latest twisted and fails; it doesn't realisie that there is
# already a version of twisted given in the requirments.
RUN sed -i /synapse/requirements.txt -e 's/^twisted==/twisted[tls]==/'

###
### Stage 1: builder
###
Expand Down

0 comments on commit e24ecf1

Please sign in to comment.