-
Notifications
You must be signed in to change notification settings - Fork 85
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
Remove support for Python 2 #474
Remove support for Python 2 #474
Conversation
85a7631
to
60a2463
Compare
I guess future imports should also be removed like |
Will do. Thanks. Should push an update soon. |
59d635e
to
9c50200
Compare
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.
Amazing work. Thank you so much.
@@ -102,13 +102,6 @@ When constructing a custom context it is usually best to start with | |||
the default context, created by the ``ssl`` module, and modify it to | |||
suit your needs. | |||
|
|||
.. warning:: |
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.
hooray!
Python 2.7 (the last Python 2 release) was End-Of-Life on 1-Jan-2020. * Add requirement to `setup.py` for python_requires=">=3.4.0" * Remove all usage of the `six` library * Remove declared support for Python 2 * Update tox.ini to remove `py27` environment * Update Github workflows to no longer test against Python 2.7 * Remove `from __future__ import print_function` * Remove `from __future__ unicode_literals` * Update tests to import `unittest` and `unittest.mock` directly Closes: mjs#401
9c50200
to
6e6ec34
Compare
Thanks! |
All good, merged. Thanks! |
Python 2.7 (the last Python 2 release) was End-Of-Life on 1-Jan-2020.
Add requirement to setup.py for Python 3.4 or greater
six
librarypy27
environmentfrom __future__ import print_function
from __future__ unicode_literals
unittest
andunittest.mock
directlyCloses: #401