Closed SidAtNSIO closed 2 years ago
What is the version of pyjwt in your project?
cc @peterdeme
pyjwt = 1.7.1
So it seems like the bytes
vs str
behavior of PyJWT has changed here. If I see it correctly that's version 2.0
.
So @SidAtNSIO, you're not supposed to use anything less than 2.0
.
As for ourselves, we bumped it in this PR. So if you still want to use a lower PyJWT version, you should use stream-python 5.0.0
.
But I'd rather advise you to bump PyJWT is your owner project.
edit: just saw your PR. that could work too. 🙂
Problem explanation
"can only concatenate str (not "bytes") to str" this error occurs when we are assigning a user to feed group
Steps to reproduce
client.feed('user', str(some_id))
Environment info
Operating System: Ubuntu 20.04 Python version: Python 3.8.10 Library version: 5.1.0
Error traceback (if applicable)
Code snippet that causes the problem