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.
- 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