ByteInternet/drf-oidc-auth

Django 4.0 Support - ugettext removed from django.utils.translation import

hi5grant opened this issue · 1 comments

It looks like version 2.0.0 of this library isn't compatible with Django 4.0. I just upgraded from 3.0.4 to 4.0.4 and I go the below stack when trying to start the server:

File "/Users/.../Library/Python/3.8/lib/python/site-packages/oidc_auth/authentication.py", line 13, in <module>
    from django.utils.translation import ugettext as _

I'm not all sure what this import supports or how to upgrade it, but it's kind of a dealbreaker for anyone running Django 4.0

from django.utils.translation import ugettext as _

Amoki commented

This issue is fixed by #61