Skip to content
Snippets Groups Projects
Unverified Commit dd76e5ca authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Merge pull request #5135 from matrix-org/rav/build_fixes

Build fixes
parents f73f18fe 5485852b
No related branches found
No related tags found
No related merge requests found
Ensure that we have `urllib3` <1.25, to resolve incompatibility with `requests`.
\ No newline at end of file
...@@ -55,7 +55,8 @@ RUN apt-get update -qq -o Acquire::Languages=none \ ...@@ -55,7 +55,8 @@ RUN apt-get update -qq -o Acquire::Languages=none \
python3-pip \ python3-pip \
python3-setuptools \ python3-setuptools \
python3-venv \ python3-venv \
sqlite3 sqlite3 \
libpq-dev
COPY --from=builder /dh-virtualenv_1.1-1_all.deb / COPY --from=builder /dh-virtualenv_1.1-1_all.deb /
......
...@@ -69,6 +69,14 @@ REQUIREMENTS = [ ...@@ -69,6 +69,14 @@ REQUIREMENTS = [
"attrs>=17.4.0", "attrs>=17.4.0",
"netaddr>=0.7.18", "netaddr>=0.7.18",
# requests is a transitive dep of treq, and urlib3 is a transitive dep
# of requests, as well as of sentry-sdk.
#
# As of requests 2.21, requests does not yet support urllib3 1.25.
# (If we do not pin it here, pip will give us the latest urllib3
# due to the dep via sentry-sdk.)
"urllib3<1.25",
] ]
CONDITIONAL_REQUIREMENTS = { CONDITIONAL_REQUIREMENTS = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment