Skip to content

Conversation

@achapkowski
Copy link

removes earlier versions of python. Drops support for Python 2.7 and Python <3.7

@achapkowski
Copy link
Author

@pquentin I went ahead and dropped older versions of Python and fixed the tests.

Copy link
Contributor

@pquentin pquentin left a 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 and sys.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/)

@achapkowski
Copy link
Author

@pquentin I'll wait till your PR you are working on is finished so we don't get merge conflicts.

'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
Copy link
Contributor

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'

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',
Copy link
Contributor

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:

Suggested change
python_requires='>=3.7, <3.11',
python_requires='>=3.7',

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants