summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-11 15:05:04 +0000
committerDavid Robertson <davidr@element.io>2022-03-14 18:42:01 +0000
commit30262cdd2b5fb166d2c43a02b57a170d68ee4353 (patch)
treea9a9fd32f649241622dae794927fd6bf57b4d177
parentpath (diff)
downloadsynapse-30262cdd2b5fb166d2c43a02b57a170d68ee4353.tar.xz
baaaaaaaaaaaaaaaaa
-rwxr-xr-x.ci/scripts/test_old_deps.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/.ci/scripts/test_old_deps.sh b/.ci/scripts/test_old_deps.sh
index 32af371591..f4ef3d2fe6 100755
--- a/.ci/scripts/test_old_deps.sh
+++ b/.ci/scripts/test_old_deps.sh
@@ -23,15 +23,17 @@ export VIRTUALENV_NO_DOWNLOAD=1
 # rather than this sed script. But that's an Opinion.
 
 # patch the project definitions in-place
-# replace all lower bounds with exact bounds
-# delete all lines referring to psycopg2 --- so no postgres support
-# but make the pyopenssl 17.0, which can work against an
-# OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
-
+# - replace all lower bounds with exact bounds
+# - delete all lines referring to psycopg2 --- so no postgres support
+# - but make the pyopenssl 17.0, which can work against an
+# - OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
+# - remove pygithub from dev dependencies, because this wants a higher version of
+#   pynacl than our minimum and we're not using it here
 sed -i-backup \
    -e "s/[~>]=/==/g" \
    -e "/psycopg2/d" \
    -e 's/pyOpenSSL = "==16.0.0"/pyOpenSSL = "==17.0.0"/' \
+   -e '/pygithub/d' \
    pyproject.toml
 
 # There are almost certainly going to be dependency conflicts there, so I'm going to