juanifioren / django-oidc-provider

OpenID Connect and OAuth2 provider implementation for Djangonauts.
http://django-oidc-provider.readthedocs.org
MIT License
416 stars 239 forks source link

use unittest.mock instead of mock #401

Open pgajdos opened 2 years ago

pgajdos commented 2 years ago

Could you please consider to use unittest.mock as a fallback?

https://trello.com/c/S6eADbii/64-remove-python-mock https://fedoraproject.org/wiki/Changes/DeprecatePythonMock

pgajdos commented 2 years ago

See https://build.opensuse.org/package/show/home:pgajdos:python/python-django-oidc-provider for details, for example for build with python 3.6 and up.