PyJWT==1.7.1 I tried to lock PyJWT to 1.7.1 and it worked for me
File "/home/ramon/.trains/venvs-builds/3.7/lib/python3.7/site-packages/trains/backend_api/session/token_manager.py", line 72, in _get_token_exp return jwt.decode(token, verify=False).get('exp', sys.maxsize) File "/home/ramon/.trains/venvs-builds/3.7/lib/python3.7/site-packages/jwt/api_jwt.py", line 113, in decode decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs) File "/home/ramon/.trains/venvs-builds/3.7/lib/python3.7/site-packages/jwt/api_jwt.py", line 80, in decode_complete 'It is required that you pass in a value for the "algorithms" argument when calling decode().' jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().
I am still getting the error even with the v0.16.3 agent, is there something else we have to do other than updating it?
SuccessfulKoala55 Thank you for the prompt response š¤© š
SlipperyDove40 please try out Trains Agent v0.16.3 (just released) and let me know if it works š
We'll release a patch version with a constraint on this package
Hi SlipperyDove40 ,
The culprit is the latest pyjwt
just released (2.0.0) which changed the signature for the decode
function.