#23315: Cannot resolve operation dependencies
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:  nobody
  gabejackson            |     Status:  new
         Type:  Bug      |    Version:  1.7-rc-2
    Component:           |   Keywords:  migrations, autodetector, circular
  Migrations             |  dependency
     Severity:  Release  |  Has patch:  0
  blocker                |      UI/UX:  0
 Triage Stage:           |
  Unreviewed             |
Easy pickings:  0        |
-------------------------+-------------------------------------------------
 The auto detector cannot create migrations for the project located at:
 [https://github.com/gabejackson/django-migration-test]
 Using Django==1.7c2 and python 2.7.5
 The command used is:
 {{{
 ./manage.py makemigrations --dry-run
 }}}

 which leads to:
 {{{
 Traceback (most recent call last):
   File "./manage.py", line 10, in <module>
     execute_from_command_line(sys.argv)
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/core/management/__init__.py", line 385, in
 execute_from_command_line
     utility.execute()
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/core/management/__init__.py", line 377, in execute
     self.fetch_command(subcommand).run_from_argv(self.argv)
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/core/management/base.py", line 288, in run_from_argv
     self.execute(*args, **options.__dict__)
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/core/management/base.py", line 337, in execute
     output = self.handle(*args, **options)
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/core/management/commands/makemigrations.py", line 111, in
 handle
     convert_apps=app_labels or None,
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/db/migrations/autodetector.py", line 50, in changes
     changes = self._detect_changes(convert_apps, graph)
   File "/Users/gabejackson/venv/django-1.7/lib/python2.7/site-
 packages/django/db/migrations/autodetector.py", line 288, in
 _detect_changes
     raise ValueError("Cannot resolve operation dependencies")
 ValueError: Cannot resolve operation dependencies
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/23315>
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/054.4e63c410765cf908f79f85037e13670c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to