South 1.0 uses iteritems incompatible with python 3

60 views
Skip to first unread message

Ivan Tmib

unread,
Jul 19, 2014, 4:09:10 PM7/19/14
to south...@googlegroups.com
In migration/migrators.py:
for name, db in south.db.dbs.iteritems():
should be replaced by 
for name, db in south.db.dbs.items():

Andrew Godwin

unread,
Jul 19, 2014, 6:57:03 PM7/19/14
to south...@googlegroups.com
You're right, though South's support for Python 3 was always alpha and not official, so I'm unlikely to release a new version just for this unless something else comes along.

If you want to submit a PR I'll take it into the repo, but if you want proper Python 3 support I suggest you use the new Django migrations which have a full python 3 testsuite and actually have some functionality that is improved on python 3.

Andrew


--
You received this message because you are subscribed to the Google Groups "South Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to south-users...@googlegroups.com.
To post to this group, send email to south...@googlegroups.com.
Visit this group at http://groups.google.com/group/south-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages