From 46cfc92540b1e0e19893293f73f2ebd5df73fb7b Mon Sep 17 00:00:00 2001 From: Muhammad Umar Khan <42294172+mumarkhan999@users.noreply.github.com> Date: Thu, 9 Jan 2025 19:21:54 +0500 Subject: [PATCH] Replace pyjwkest with pyjwt package (#349) * chore: add pyjwt requirement * squash! fix quality issues * fix: remove useless tests * docs: update init and changelog files --------- Co-authored-by: Alie Langston --- CHANGELOG.rst | 4 + lti_consumer/__init__.py | 2 +- lti_consumer/lti_1p3/key_handlers.py | 195 ++++++------------ lti_consumer/lti_1p3/tests/test_consumer.py | 41 ++-- .../lti_1p3/tests/test_key_handlers.py | 118 ++++------- lti_consumer/lti_1p3/tests/utils.py | 8 +- lti_consumer/plugin/views.py | 49 +++-- .../tests/unit/plugin/test_proctoring.py | 10 +- lti_consumer/tests/unit/plugin/test_views.py | 14 +- .../tests/unit/plugin/test_views_lti_ags.py | 6 - .../plugin/test_views_lti_deep_linking.py | 9 - .../tests/unit/plugin/test_views_lti_nrps.py | 6 - lti_consumer/tests/unit/test_lti_xblock.py | 68 +++--- lti_consumer/tests/unit/test_models.py | 6 - requirements/base.in | 1 + requirements/base.txt | 2 + requirements/ci.txt | 2 + requirements/dev.txt | 2 + requirements/quality.txt | 2 + requirements/test.txt | 2 + 20 files changed, 228 insertions(+), 319 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d7d8d7cf..9b58fc29 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -16,6 +16,10 @@ Please See the `releases tab