#36652: Loading squashed migrations from disk raises CircularDependencyError
indeterministically
-------------------------------------+-------------------------------------
Reporter: Jayden Kneller | Owner: Augusto
| Pontes
Type: Bug | Status: closed
Component: Migrations | Version: dev
Severity: Normal | Resolution: fixed
Keywords: squashed | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls <jacobtylerwalls@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"e27cff68a32a0183c6b8d110b359c1c858f68cd7" e27cff6]:
{{{#!CommitTicketReference repository=""
revision="e27cff68a32a0183c6b8d110b359c1c858f68cd7"
Fixed #36652 -- Increased determinism when loading migrations from disk.
Ordering still depends on pkgutil.iter_modules, which does not guarantee
order, but at least now Django is not introducing additional
indeterminism,
causing CircularDependencyError to appear or not appear in some edge
cases.
Co-authored-by: Jacob Walls <[email protected]>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36652#comment:35>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019a4f02124d-fbd9c9cc-74be-4da6-aede-af8f7e3bbd12-000000%40eu-central-1.amazonses.com.