Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 1.7 and 3.2 Error #12

Open
saulshanabrook opened this issue Apr 4, 2014 · 1 comment
Open

Django 1.7 and 3.2 Error #12

saulshanabrook opened this issue Apr 4, 2014 · 1 comment

Comments

@saulshanabrook
Copy link
Contributor

I have just started doing testing with a project that depends on django-pq for Django 1.7.

All builds run fine, apart from the python 3.2 one, which errors on 1.7.

E         File "/home/travis/virtualenv/python3.2/lib/python3.2/site-packages/pq/migrations/0003_auto__add_field_worker_heartbeat.py", line 12
E           db.add_column(u'pq_worker', 'heartbeat',
E                                    ^
E       SyntaxError: invalid syntax

It seems like when Django 1.7 parses the old migration files, it has some problem with the unicode literal. Any idea why this might be?

@saulshanabrook
Copy link
Contributor Author

For the record, Django 1.6 works fine with Python 3.2, it is only under Django 1.7 where it has the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant