Migration constraint names are non-deterministic due to hash randomization
Index name generation in migrations uses hash()
which returns a non-deterministic result on Python 3 when hash randomization enabled.
I believe constraint names are expected to be generated deterministically.
Change History
(6)
Summary: |
Migration constraint names are non-determinstic due to hash randomization → Migration constraint names are non-deterministic due to hash randomization
|
Has patch: |
set
|
Patch needs improvement: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
When fixing this, please look in #24410 too.