From: Magnus Hagander Date: Fri, 22 Dec 2023 12:47:26 +0000 (+0100) Subject: Install tip version of pycryptomdex in test environment as well X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=e2550ed9f1b09d832255fadb1b452ae495620dac;p=pgeu-system.git Install tip version of pycryptomdex in test environment as well The github actions environment is apparently weird because the same version that runs in the local docker test env doesn't run there. But again since we don't actually call into it, version shouldn't matter as long as all we do is check migrations. --- diff --git a/.github/workflows/validate-syntax.yaml b/.github/workflows/validate-syntax.yaml index ed1ab875..b9016ebc 100644 --- a/.github/workflows/validate-syntax.yaml +++ b/.github/workflows/validate-syntax.yaml @@ -26,6 +26,6 @@ jobs: - name: Make sure there are no missing migrations run: | echo "SECRET_KEY='foobar'" > postgresqleu/local_settings.py - pip install Pillow # Install the "wrong" version of pillow so it uses a wheel - since we won't actually call it anyway - pip install -r <(grep -v Pillow tools/devsetup/dev_requirements.txt) + pip install Pillow pycryptodomex # Install the "wrong" version of pillow and pycryptodomex so it uses a wheel - since we won't actually call it anyway + pip install -r <(grep -Ev Pillow|pycryptodomex tools/devsetup/dev_requirements.txt) python manage.py makemigrations --check --dry-run