summary refs log tree commit diff
path: root/.buildkite/scripts
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-25 14:22:35 -0500
committerGitHub <noreply@github.com>2021-01-25 14:22:35 -0500
commita71be9d62d0a8670f088ee4879ab5e72869dd9b1 (patch)
treeb9cdc59d71a411d540fd39d2d25bd45002608c9f /.buildkite/scripts
parentMerge tag 'v1.26.0rc2' into develop (diff)
downloadsynapse-a71be9d62d0a8670f088ee4879ab5e72869dd9b1.tar.xz
Fix Python 3.5 old deps build by using a compatible pip version. (#9217)
Co-authored-by: Dan Callahan <danc@element.io>

pip 21.0 stopped supporting Python 3.5.
Diffstat (limited to '')
-rwxr-xr-x.buildkite/scripts/test_old_deps.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.buildkite/scripts/test_old_deps.sh b/.buildkite/scripts/test_old_deps.sh
index 9905c4bc4f..28e6694b5d 100755
--- a/.buildkite/scripts/test_old_deps.sh
+++ b/.buildkite/scripts/test_old_deps.sh
@@ -10,4 +10,7 @@ apt-get install -y python3.5 python3.5-dev python3-pip libxml2-dev libxslt-dev x
 
 export LANG="C.UTF-8"
 
+# Prevent virtualenv from auto-updating pip to an incompatible version
+export VIRTUALENV_NO_DOWNLOAD=1
+
 exec tox -e py35-old,combine