Closed justinmayer closed 11 years ago
Running 2to3 seems to fix most issues... leaving just line 9 in templates/panels/headers.html. At least everything seems to be working for me at this point with running 2to3 and that edit.
- {% for key, value in headers.iteritems() %}
+ {% for key, value in headers.items() %}
Does anyone have a branch with py3 compatibility?
Great to see Python 3 support has landed. Thanks, Matt!
Do you think you might be able to push out a release in the near future?
This probably needs some more testing, but I've added a tentative fix. I'm following @mitsuhiko's approach to using one codebase that's compatible with 2.6, 2.7 and 3.3+, so 2to3 is not required.
I'd been trying to come up with a better comprehensive testing approach, but for now I've checked in a really basic sanity test that checks that the toolbar at least loads for a very simple app. It can be run locally with Tox, or automated results are in Travis CI:
Great job @mgood. This got rid of the exceptions thrown during tox testing, though I haven't had time to test it manually yet but I'll report back if I find any issues.
Yeah, I'd appreciate you trying it out before I make a new release. I've only tested it with fairly trivial example apps since I don't have another app running with Python 3 yet.
Seems to be working great here, no issues so far!
Tested here and functioning precisely as expected. Well done!
Hey Matt. Any possibility of releasing a new version of Flask-DebugToolbar? Would be great to have a released version that supports Python 3.3.
Given that it's been nearly a year since the last release, is there any chance of a new Flask-DebugToolbar release soon? Anything I can do to help?
Working well for at least me and @justinmayer so this should be safe to release. This is a package that is used under development environments only so IMHO there'd be no great harm if a bug was found at a later stage.
Sorry for the delay. I just uploaded version 0.9.0 with this and other changes. Thanks for the help and testing.
Will you add 'Programming Language :: Python :: 3' classifier?
Recent updates to Flask and related components have included support for Python 3, and it would be great to be able to use Flask-DebugToolbar in projects running on Python 3. As it stands now, Flask-DebugToolbar must be disabled in such projects in order to run them without errors.
Are there plans to support Python 3 in the near future?