summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-11 17:39:13 +0000
committerDavid Robertson <davidr@element.io>2022-03-14 18:42:02 +0000
commitede1939354058c7a395350dde1734692853f23df (patch)
treef8f4a35734ec85d40be6df39517c7a2d3a4c2e0b
parenttry poetry again (diff)
downloadsynapse-ede1939354058c7a395350dde1734692853f23df.tar.xz
aaaaaaaaaaaaaaaaaaanother
-rwxr-xr-x.ci/scripts/test_old_deps.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/.ci/scripts/test_old_deps.sh b/.ci/scripts/test_old_deps.sh
index 4795cef4b8..419778fccc 100755
--- a/.ci/scripts/test_old_deps.sh
+++ b/.ci/scripts/test_old_deps.sh
@@ -32,6 +32,7 @@ sed -i-backup \
    -e "s/[~>]=/==/g" \
    -e "/psycopg2/d" \
    -e 's/pyOpenSSL = "==16.0.0"/pyOpenSSL = "==17.0.0"/' \
+   -e '/psycopg2/d' \
    -e '/systemd/d' \
    pyproject.toml
 
@@ -65,6 +66,7 @@ python3 -c "$REMOVE_DEV_DEPENDENCIES"
 #  ERROR: ldap3 2.9.1 has requirement pyasn1>=0.4.6, but you'll have pyasn1 0.1.9 which is incompatible.
 # Helpfully, pip doesn't indicate the error; it returns 0.
 # TODO: bump pyasn to >=0.4.6?
-pipx install poetry
+pipx install poetry==1.1.12
+~/.local/bin/poetry lock
 ~/.local/bin/poetry install -E "all test"
 ~/.local/bin/poetry run trial -j2 tests