Hello,
Running pytest, I noticed the following warnings with this great library:
rest_framework_simplejwt/backends.py:58: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
rest_framework_simplejwt/tokens.py:44: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
rest_framework_simplejwt/serializers.py:24: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
Should we already upgrade? Thoughts?
Once Dave finds time to maybe try out the GitHub action PR and just time in general... you can follow https://github.com/SimpleJWT/django-rest-framework-simplejwt/issues/236#issuecomment-640943117
Basically, in pytest.ini:
filterwarnings =
ignore::django.utils.deprecation.RemovedInDjango40Warning
This'll remove the deprecation warning for the time being. Just keep your eyes peeled for the next JWT upgrade as it's already fixed in master.
Most helpful comment
Once Dave finds time to maybe try out the GitHub action PR and just time in general... you can follow https://github.com/SimpleJWT/django-rest-framework-simplejwt/issues/236#issuecomment-640943117
Basically, in pytest.ini:
This'll remove the deprecation warning for the time being. Just keep your eyes peeled for the next JWT upgrade as it's already fixed in master.