migration incomplete : zoneinfo.available_timezones() order not fixed #128
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
django migrations is currently unhappy :
for what it's worth,
5ea092d
(fix: default schedule tz + migration) did provide a migration file (aircox/migrations/0013_alter_schedule_timezone_alter_station_hosts.py) but considered incomplete.The culprit is the set returned by zoneinfo.available_timezones() wich order varies.
migration corrupted : zoneinfo.available_timezones() wich order varies/schedule : changes not yet reflectedto migration incomplete : zoneinfo.available_timezones() order not fixed(sorry for the incomplete report, I pressed enter while editing and did not inteded to post it yet)
hereunder is a diff with a new migration file produced by
makemigrations
.A way fix is to fix seems to just sort available_timezones() result. But I wonder if we really need these results in the database.