requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.71k stars 421 forks source link

1.4.0 claims to support Python 2.7 in PyPI but does not #540

Open amc1804 opened 3 months ago

amc1804 commented 3 months ago

pip2 will install version 1.4.0 because PyPI thinks it supports Python 2.7, but it doesn't, and will raise an exception when incompatible code is reached. I don't know how PyPI works, whether the metadata can be amended, or if the release should be revoked and replaced with another. I suppose 1.4.0.dev0 probably has the same issue.

jtroussard commented 3 months ago

Hi @amc1804

Thanks for reporting this compatibility issue with the requests-oauthlib 1.4.0 release on PyPI.

I've confirmed the metadata seems to incorrectly indicate Python 2.7 support, which is causing problems for users.

The maintainer team is aware and actively discussing the best path forward to resolve the issues with the 1.4.0 release.

Will update here in the coming days.

jtroussard commented 3 months ago

follow up setup file update for pypi metadata

542