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
Compatibility with Python 3.9 #95
Comments
Thanks for reporting. PRs welcome! |
Is preserving Python 2 compatibility required? |
I'd lean towards keeping in line with the latest version of Flask, but they do still support Python 2.7. https://github.com/pallets/flask/blob/64ba43411fbfb2e435455b0df2453d7809b7c5a8/setup.py I think it's probably worth dropping 2.7 so long as Python 3.5 is still supported. |
FYI, I'm getting failures with Travis CI trying to install Py 2.x versions under #97. But it also fails to install the PyPy versions, so I'm unsure what's the issue. |
Added a tested solution here: #98 |
Inspired by pyparsing/pyparsing#16 Closes Frozen-Flask#95 Closes Frozen-Flask#96
@tswast @honzajavorek Do you know if there are any plans to release a |
I think it's mainly a matter of whether there's a contribution adding the support. I'm unsure whether it's a big task or not, given we still support 2.7. If supporting 3.9 is easier (and cleaner) without 2.7, there's probably no big harm in watching when Flask drops 2.7 and only then add support for 3.9. I don't have any strong opinions about this though. |
Ok, that makes sense. The good news: running the Flask-Frozen test suite under Python 3.9, it seems to pass as-is. I'll open a pull request to enable CI in a moment. |
OK so previously I've replied from my phone and I missed the fact this is closed already. I recalled I wanted to tackle this problem in #98, which even mentions 3.9 and I think it tests the issues and fixes them, but for some reason, I forgot to add it to the testing matrix 😄 So that probably explains why it passes as-is. |
No probs, thanks! :) |
I'm getting following warnings:
The text was updated successfully, but these errors were encountered: