diff options
author | David Robertson <davidr@element.io> | 2022-06-17 19:07:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-17 19:07:04 +0100 |
commit | f33356e8f86f5271376467febfad0936e4e8a72d (patch) | |
tree | 76448f2c67797e2d0dd59801eeb4181d1daa3a74 /.ci/scripts | |
parent | Update opentracing docs to reference the configuration manual rather than the... (diff) | |
download | synapse-f33356e8f86f5271376467febfad0936e4e8a72d.tar.xz |
Use caret (semver bounds) for matrix.org packages (#13082)
Diffstat (limited to '.ci/scripts')
-rwxr-xr-x | .ci/scripts/test_old_deps.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/scripts/test_old_deps.sh b/.ci/scripts/test_old_deps.sh index 769ca4517e..7d0625fa86 100755 --- a/.ci/scripts/test_old_deps.sh +++ b/.ci/scripts/test_old_deps.sh @@ -27,9 +27,10 @@ export VIRTUALENV_NO_DOWNLOAD=1 # Patch the project definitions in-place: # - Replace all lower and tilde bounds with exact bounds -# - Make the pyopenssl 17.0, which is the oldest version that works with -# a `cryptography` compiled against OpenSSL 1.1. +# - Replace all caret bounds---but not the one that defines the supported Python version! # - Delete all lines referring to psycopg2 --- so no testing of postgres support. +# - Use pyopenssl 17.0, which is the oldest version that works with +# a `cryptography` compiled against OpenSSL 1.1. # - Omit systemd: we're not logging to journal here. # TODO: also replace caret bounds, see https://python-poetry.org/docs/dependency-specification/#version-constraints @@ -40,6 +41,7 @@ export VIRTUALENV_NO_DOWNLOAD=1 sed -i \ -e "s/[~>]=/==/g" \ + -e '/^python = "^/!s/\^/==/g' \ -e "/psycopg2/d" \ -e 's/pyOpenSSL = "==16.0.0"/pyOpenSSL = "==17.0.0"/' \ -e '/systemd/d' \ |