#23844: Use topological sort for migration operation dependency resolution
--------------------------------------+--------------------
Reporter: patrys | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
A fixed implementation is provided in
https://github.com/django/django/pull/3546
The initial implementation was provided by vanschelven, accepted and
commited as part of https://github.com/django/django/pull/3525. It however
broke in Python 3 due to how `__eq__` and `__hash__` behave.
I opted not to provide a default implementation of `deconstruct` method to
avoid arguments moving between `args` and `kwargs` depending on invocation
(like the deconstruction of model fields it always produces the canonical
form).
--
Ticket URL: <https://code.djangoproject.com/ticket/23844>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.7eeb5c5e451d2b23177ac38edcdfc869%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.