#30029: Generate migration dependencies in a deterministic order
-------------------------------------+-------------------------------------
     Reporter:  Dakota Hawkins       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:  migrations,          |             Triage Stage:  Accepted
  makemigrations                     |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Dakota Hawkins):

 Replying to [comment:1 Simon Charette]:
 >
 
[https://github.com/django/django/blob/3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a/tests/migrations/test_writer.py#L533-L544
 Creating a Migration] and assigning an unordered `depedencies` list and
 asserting they are sorted in
 
[https://github.com/django/django/blob/3a4558b84f76c1dbe54c8c38e90e4048c2bd3e9a/tests/migrations/test_writer.py#L545-L546
 the output]  should be an appropriate test.

 Thanks! I was looking at the `test_makemigrations*` tests, that looks much
 more promising. I'll work on it.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30029#comment:2>
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/071.d6caf1604aa5cab46019e1d900c3225a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to