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

Python 3 support #149

Merged
merged 6 commits into from
Nov 28, 2014
Merged

Python 3 support #149

merged 6 commits into from
Nov 28, 2014

Conversation

dracos
Copy link
Member

@dracos dracos commented Nov 25, 2014

Also remove requirement for GDAL/memcached (will automatically work if they're installed), work around an issue with Travis echo YAML indenting, and backport update_or_create to fix errors in Django 1.7.1.

This commit combines the output of the following:
    lib2to3.fixes.fix_except
    lib2to3.fixes.fix_idioms
    lib2to3.fixes.fix_import
    lib2to3.fixes.fix_ws_comma
    lib2to3.fixes.fix_xrange
    libmodernize.fixes.fix_dict
    Replace filter with list comprehension.
    Wrap map() in list/tuple, it's an iterator in Py3.
    libmodernize.fixes.fix_metaclass
    libmodernize.fixes.fix_next
    libmodernize.fixes.fix_raise
    Update imports using six.moves.
    raw_input
    Fix urllib
    Fix print handling (brackets, __future__).
    Fix unicode handling (remove u'', smart_str/text).
    Python 3 string related fixes.
    Update model string methods for Python 3.
Add Python 3 testing to Travis, and work around issue with echo/YAML
indenting.
Django 1.7.1 calls the built-in version by default on related managers,
so move to using a version that matches its behaviour more precisely.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant