This branch supports Python 2.5 through 3.2, passes all the tests when used with 2to3 port of Werkzeug and itsdangerous (In Python 3.1, it leaks memory for some reason)
port with 2to3 - passes tests with py25-27,py32,pypy
make it work with Travis-ci
It still failed https://travis-ci.org/#!/mitsuhiko/flask/jobs/3077101 couldn't get simplejson. Is there a way to rerun this commit? It seems they had a network issue or something.
@soulseekah yeah, unfortunately it seems that Travis has been erroring out for horribly random reasons. @puzzlet should see if there's a way he can kick it. Maybe closing/reopening the pull would work.
Well one of the core maintainers with merge privileges would still have to test this themselves anyway.
Merge branch 'master' into feature/2to3
@soulseekah yeah, I was just saying, he needed to do it so they could see that off the bat. Also, @puzzlet could you add python 3.2 to the .travis.yml build matrix? That provides the results that are very relevant to this. Also, if Travis has begun to offer 3.3 yet, that too.
@sigmavirus24 Well, with python 3 the test in Travis would fail because Werkzeug and itsdangerous have no support in the upstream yet. Or is there a way to configure Travis to fetch them from the git repositories beforehand?
Add a file named requirements.txt with -e git+git://github.com/puzzlet/werkzeug@feature/2to3 for werkzeug and a similar url for itsdangerous. I believe the @ will designate the branch. Also to the .travis.yml add the line:
install: pip install -r requirements.txt --use-mirrors. This way they'll pre-empt the installs performed in setup.py. Of course, @mitsuhiko might not appreciate that, but this will prove that those 3 together allow for a port to python3.
install: pip install -r requirements.txt --use-mirrors
configure Travis-CI to include Python 3.2
only Python 2.5 needs simplejson
Interesting, thank you for your effort @puzzlet
Merge remote-tracking branch 'upstream/master' into feature/2to3
We support 3.3 now.