Package: src:flask-jwt-simple
Version: 0.0.3-5
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

flask-jwt-simple's autopkg tests fail with python3.9, see
https://ci.debian.net/packages/f/flask-jwt-simple/testing/amd64/

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <flask_jwt_simple.jwt_manager.JWTManager object at 0x7eff8c2092b0>
identity = 'username'

    def _create_jwt(self, identity):
        jwt_data = self._get_jwt_data(identity)
        secret = config.encode_key
        algorithm = config.algorithm
>       return jwt.encode(jwt_data, secret, algorithm).decode('utf-8')
E       AttributeError: 'str' object has no attribute 'decode'

flask_jwt_simple/jwt_manager.py:175: AttributeError

Reply via email to