[Python-modules-team] Bug#979713: flask-jwt-simple's autopkg tests fail with python3.9

Matthias Klose doko at debian.org
Sun Jan 10 16:01:35 GMT 2021


Package: src:flask-jwt-simple
Version: 0.0.3-5
Severity: serious
Tags: sid bullseye
User: debian-python at 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



More information about the Python-modules-team mailing list