-
Notifications
You must be signed in to change notification settings - Fork 819
Closed
Labels
Description
Describe the bug
DeprecationWarning is raised.
================================================================ warnings summary =================================================================
tests/test_authorization_code.py::TestOIDCAuthorizationCodeHSAlgorithm::test_id_token
/Users/ac45/src/django-oauth-toolkit/tests/test_authorization_code.py:1870: DeprecationWarning:
assert key.key_type == "oct"
tests/test_models.py::test_application_key
/Users/ac45/src/django-oauth-toolkit/tests/test_models.py:549: DeprecationWarning:
assert key.key_type == "RSA"
tests/test_models.py::test_application_key
/Users/ac45/src/django-oauth-toolkit/tests/test_models.py:560: DeprecationWarning:
assert key.key_type == "oct"
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
To Reproduce
tox -e py38-dj42
Expected behavior
Should not have DeprecationWarnings
Version
- I have tested with the latest published release and it's still a problem.I have tested with the master branch and it's still a problem.To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel.
Additional context
Will need to identify the specific Deprecation and refactor as needed.
Activity
n2ygk commentedon Sep 5, 2024
See also
py312-dj41etc. which raises this additional DeprecationWarning related to python 3.12:Subham-KRLX commentedon Aug 9, 2025
I would like to fix this please assign this issue to me.