Explorar o código

[libs] Bump djangorestframework-simplejwt

Trying to avoid

  File "/usr/share/hue/build/env/lib/python3.6/site-packages/rest_framework_simplejwt/backends.py", line 43, in encode
    return token.decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'

https://github.com/jazzband/djangorestframework-simplejwt/issues/326
Romain Rigaux %!s(int64=4) %!d(string=hai) anos
pai
achega
405ef8d813
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      desktop/core/requirements.txt

+ 2 - 1
desktop/core/requirements.txt

@@ -26,7 +26,7 @@ django-nose==1.4.7
 django_opentracing==1.1.0
 django_prometheus==1.0.15
 django-webpack-loader==0.5.0
-djangorestframework-simplejwt==4.4.0
+djangorestframework-simplejwt==4.6.0
 djangorestframework==3.12.2
 eventlet==0.31.0
 future==0.18.2
@@ -58,6 +58,7 @@ python-ldap==3.1.0
 python-oauth2==1.1.0
 pytidylib==0.3.2
 pytz==2021.1
+PyJWT==1.7.1
 PyYAML==5.4.1
 requests>=2.25.1
 requests-kerberos==0.12.0