-
Notifications
You must be signed in to change notification settings - Fork 151
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
Phase out Python 3.5 #731
Comments
On that note, the testing for 3.5 could also be dropped from CI to reduce workflow time. Will create a PR for this |
There's no hurt including 3.5 on CI, but it does need to include 3.9 since it's the current stable version. |
3.9 is already in tests. Added it to coverage in the above-mentioned PR. My reason for removing python 3.5 from the CI is, that testing for another version costs a lot of resources due to cross-testing strategy of GINO. At the moment we not only test each version 3.5-9 for 3 Postgres versions plus some other stuff. |
Created PR with warning for python 3.6 and lower. @kigawas is the PR to your expectations or are there adjustments required? |
Not exactly. You should use this: https://docs.python.org/3/library/exceptions.html#DeprecationWarning |
Okay, going to try to use this instead. Might try to apply it this evening. |
You should use sys.version_info instead and there is no need to catch exception |
I will make the adjustments later though next time you see something just list all the problems. It's easier and faster to fix that way. Anyways, Thanks for your help, has been long since I've worked with python version warnings. |
Changes done. Tests are running |
Since Python 3.5 reached its end of life in September 2020, I would recommend phasing it out like this:
DeprecationWarning
should be included and prompted in Python 3.5The text was updated successfully, but these errors were encountered: