-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Summary
When building a custom Docker image for goosebit[postgresql]==0.2.10, pip installs Aerich 0.9.2.
However, the official Goosebit Docker image for the same version uses Aerich 0.9.1.
The newer Aerich (0.9.2) treats Goosebit’s bundled migration files as "old format" and causes:
RuntimeError: Old format of migration file detected, run `aerich fix-migrations` to upgrade format
Running aerich fix-migrations is impossible because the database has no Aerich table yet.
Expected
Installing Goosebit 0.2.10 via pip should pull a compatible Aerich version (0.9.1), matching the official image.
Actual
pip install goosebit[postgresql]==0.2.10 installs Aerich 0.9.2 → migrations fail on a fresh DB.
Suggested Fix
Pin Aerich to 0.9.1 in Goosebit’s dependencies or adjust the bundled migrations for 0.9.2.
Workaround
Install Goosebit with an explicit Aerich pin in Dockerfile:
pip install --no-cache-dir \
gunicorn \
aerich==0.9.1 \
goosebit[postgresql]==0.2.10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels