Skip to content

Complete removal of py2 - #5533

Merged
reaperhulk merged 2 commits into
pyca:masterfrom
alex:drop-py2
Dec 9, 2020
Merged

reaperhulk merged 2 commits into
pyca:masterfrom
alex:drop-py2

Conversation

@alex

@alex alex commented Oct 29, 2020

Copy link
Copy Markdown
Member

fixes #5359

Note: did not remove all the __future__ imports, and there's no changelog entry.

@reaperhulk

Copy link
Copy Markdown
Member

When we're ready to land this let's split this up into multiple PRs.

@alex
alex force-pushed the drop-py2 branch 5 times, most recently from 439cf67 to d8a0ec2 Compare October 29, 2020 15:12
@alex

alex commented Oct 29, 2020 •

Copy link
Copy Markdown
Member Author

For future alex, the parts to break this into:

  • Drop from CI, remove anything necessary for coverage
  • Change black target version to 3.6
  • Replace int_from_bytes with int.from_bytes
  • Drop all the __future__ imports
  • Drop usage of six

@alex
alex force-pushed the drop-py2 branch 2 times, most recently from ed1cf52 to 5faa8fe Compare November 3, 2020 16:21
@penguinolog

Copy link
Copy Markdown

You can use isort for dropping __future__

@alex
alex force-pushed the drop-py2 branch 3 times, most recently from 4eb4dfc to a7a2d68 Compare November 16, 2020 16:47
@Cartoon3636

Copy link
Copy Markdown

👍👍👍👍

@alex alex added this to the Thirty Fourth Release milestone Dec 5, 2020
@alex
alex force-pushed the drop-py2 branch 2 times, most recently from 5d89310 to 9aea5bc Compare December 9, 2020 05:41
@alex alex changed the title Drop py2 Complete removal of py2 Dec 9, 2020
@alex
alex marked this pull request as ready for review December 9, 2020 06:37
reaperhulk
reaperhulk previously approved these changes Dec 9, 2020
@reaperhulk

Copy link
Copy Markdown
Member

Needs rebase

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Python 2.7 support timeline

4 participants