-
Notifications
You must be signed in to change notification settings - Fork 186
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
removes older versions of python. #337
base: master
Are you sure you want to change the base?
Conversation
@pquentin I went ahead and dropped older versions of Python and fixed the tests. |
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! Can you please:
- Remove the Python 2 related code in
requests/_compat.py
? - Grep for
Python 2
andsys.version_info
and see what can be removed? - Run the test suite with Python 2 and Python 3 with coverage to see if you have missed anything? (We could even work on having a coverage check in GitHub first: https://hynek.me/articles/ditch-codecov-python/)
@pquentin I'll wait till your PR you are working on is finished so we don't get merge conflicts. |
install_requires=['requests>=2.0.1,<3.0.0'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Intended Audience :: Developers', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', |
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.
This can stay, and can also add:
'Programming Language :: Python :: 3 :: Only'
@@ -52,20 +52,17 @@ def get_version(): | |||
packages=packages, | |||
package_data={'': ['LICENSE', 'AUTHORS.rst']}, | |||
include_package_data=True, | |||
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', | |||
python_requires='>=3.7, <3.11', |
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.
Don't add an upper limit:
python_requires='>=3.7, <3.11', | |
python_requires='>=3.7', |
removes earlier versions of python. Drops support for Python 2.7 and Python <3.7