Skip to content
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

Update Python versions to match OAuthLib: drop 2.7 and 3.4 #381

Closed
wants to merge 7 commits into from

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Aug 30, 2019

OAuthLib 4.0 will has dropped support for legacy EOL Python 2.7 (oauthlib/oauthlib#700) and EOL 3.4 (oauthlib/oauthlib#699).

This PR updates Requests-OAuthlib to match upstream OAuthlib: Python 3.5+.

Python 2.7 and Python 3.4 are EOL and no longer receiving security updates (or any updates) from the core Python team.

Version Release date Supported until
2.7 2010-07-03 2020-01-01
3.4 2014-03-16 2019-03-16

Source: https://en.wikipedia.org/wiki/CPython#Version_history

@coveralls
Copy link

coveralls commented Aug 30, 2019

Coverage Status

Coverage decreased (-0.5%) to 89.959% when pulling 1e0c2ec on hugovk:update-python-versions into 36f24b4 on requests:master.

# Universal Wheels

> _Universal Wheels_ are wheels that are pure Python (i.e. contain no compiled extensions) and support Python 2 and 3. This is a wheel that can be installed anywhere by pip.
...
> Only use the `--universal` setting, if:
> * Your project runs on Python 2 and 3 with no changes (i.e. it does not require 2to3).
> * Your project does not have any C extensions.
>
> Beware that `bdist_wheel` does not currently have any checks to warn if you use the setting inappropriately.

https://packaging.python.org/guides/distributing-packages-using-setuptools/#universal-wheels

# Pure Python Wheels

> _Pure Python Wheels_ that are not “universal” are wheels that are pure Python (i.e. contain no compiled extensions), but don’t natively support both Python 2 and 3.
...
> `bdist_wheel` will detect that the code is pure Python, and build a wheel that’s named such that it’s usable on any Python installation with the same major version (Python 2 or Python 3) as the version you used to build the wheel.

https://packaging.python.org/guides/distributing-packages-using-setuptools/#pure-python-wheels
@hugovk
Copy link
Contributor Author

hugovk commented May 6, 2021

Closing due to lack of interest, but happy to re-open in the future!

@hugovk hugovk closed this May 6, 2021
@hugovk hugovk deleted the update-python-versions branch January 2, 2022 10:58
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.

None yet

2 participants