-
Notifications
You must be signed in to change notification settings - Fork 3k
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 support for soon-EOL Python 3.6 #10641
Conversation
Wheeeee! Thanks for picking this up @hugovk! ^.^ Could you also clear out the usage of utils.parallel and drop the module too? Those utilities are somewhat redundant/useless now that it's not possible/permitted to have a non-threading / non-multiprocessing platform. |
How's 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.
Thanks @hugovk! It looks great now!
@@ -254,7 +253,7 @@ def latest_info( | |||
dist.latest_filetype = typ | |||
return dist | |||
|
|||
for dist in map_multithread(latest_info, packages): | |||
for dist in map(latest_info, packages): |
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.
Hmm... We should bring this into a multi-threaded regime in a follow up!
OMIGOD. I JUST REALISED THAT WE CAN USE DATACLASSES NOW! |
All the new* things! https://docs.python.org/3/whatsnew/3.7.html * 2018-06-27 |
Python 3.6 to be dropped in pip 22.0: #10461 (comment).
We can also remove a bit of redundant Python 2 code.