-
-
Notifications
You must be signed in to change notification settings - Fork 343
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
Drop Python 3.5 (third take) #1481
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1481 +/- ##
==========================================
+ Coverage 92.82% 99.70% +6.88%
==========================================
Files 106 106
Lines 13292 13216 -76
Branches 1004 995 -9
==========================================
+ Hits 12338 13177 +839
+ Misses 903 24 -879
+ Partials 51 15 -36
|
Since we no longer support Python 3.5.
Since we no longer support Python 3.5.
KeyboardInterrupt protection is still enabled for async_generator, since users could still do this with Python 3.6. We can always deprecate this later.
aa100e2
to
0097e3d
Compare
Unfortunately the coverage isn't really useful, but the important thing to notice is that we were missing 24 lines before and that it's still the case now. Also, @njsmith will need to stop requiring the Python 3.5 checks. |
@@ -21,6 +21,7 @@ jobs: | |||
env: | |||
- "JOB_NAME='Ubuntu 19.10, full VM'" | |||
- "VM_IMAGE=https://cloud-images.ubuntu.com/eoan/current/eoan-server-cloudimg-amd64.img" | |||
- python: 3.6.1 # earliest 3.6 version available on Travis |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific motivation for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really, I think I just mirrored the fact that we were supporting early versions of Python 3.5. In fact it looks like test_ki_wakes_us_up
could be simplified if we decide to only support 3.6.2+.
Now that we're dropping 3.5 support, we can just write the code directly in the source file.
I can't approve my own pull request, but your additions look good to me, thanks! |
Closes #1390, closes #75
I went to great lengths to make this easy to review commit by commit, by reorganizing the previous pull request.
There's one major change compared to #1390: even if it's not needed in Python 3.6, I decided to keep support for
async_generator
in user code. I also added a test for native async generators.