-
-
Notifications
You must be signed in to change notification settings - Fork 687
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
pyjwt 2.0.0 is not compatible with Python 3.5 #585
Comments
Let's surface this in the changelog #532 |
@asottile I believe so. I'm using |
yeah you need at least pip 9.x -- I'd suggest using a virtuaenv either way and not the system pip/python |
python 3.5 is EOL already so not supportd in v2.0 :) |
It would be nice to specify in setup.py that Python > 3.6 is required (via the |
Summary
pyjwt 2.0.0 is using a syntax only valid in Python 3.6 onwards that breaks Python 3.5 support.
Possible resolutions would be indicating version
2.0.0
available for Python 3.6 onwards in https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.md.Ref: PyGithub/PyGithub#1796
Expected Result
No error.
Actual Result
Reproduction Steps
Run the following code in Python 3.5 will fail:
In comparison, the following code will run in Python 3.5:
System Information
This command is only available on PyJWT v1.6.3 and greater. Otherwise,
please provide some basic information about your system.
The text was updated successfully, but these errors were encountered: