From 9e4d4823e8898d502c5b2cf46484fbdda9db5150 Mon Sep 17 00:00:00 2001 From: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com> Date: Mon, 27 Mar 2023 15:59:49 -0400 Subject: [PATCH] chore: Updating Python Requirements (#234) --- auth_backends/tests/test_backends.py | 4 ++-- requirements/base.txt | 4 ++-- requirements/ci.txt | 4 ++-- requirements/dev.txt | 22 ++++++---------------- requirements/test.txt | 18 ++++++------------ 5 files changed, 18 insertions(+), 34 deletions(-) diff --git a/auth_backends/tests/test_backends.py b/auth_backends/tests/test_backends.py index 7135b01..437df62 100644 --- a/auth_backends/tests/test_backends.py +++ b/auth_backends/tests/test_backends.py @@ -86,8 +86,8 @@ def create_jwt_access_token(self, expires_in=3600, issuer=None, key=None, alg='R 'family_name': 'Smith', 'user_id': '1', } - - return jwt.encode(payload, key, algorithm=alg) + access_token = jwt.encode(payload, key, algorithm=alg) + return access_token def extra_settings(self): """ diff --git a/requirements/base.txt b/requirements/base.txt index cd7964a..7a79bc5 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -12,7 +12,7 @@ cffi==1.15.1 # via cryptography charset-normalizer==3.1.0 # via requests -cryptography==39.0.2 +cryptography==40.0.1 # via # pyjwt # social-auth-core @@ -38,7 +38,7 @@ pyjwt[crypto]==2.6.0 # social-auth-core python3-openid==3.2.0 # via social-auth-core -pytz==2022.7.1 +pytz==2023.2 # via django requests==2.28.2 # via diff --git a/requirements/ci.txt b/requirements/ci.txt index 7612137..9fa0a0e 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -14,7 +14,7 @@ coverage==7.2.2 # via codecov distlib==0.3.6 # via virtualenv -filelock==3.10.2 +filelock==3.10.7 # via # tox # virtualenv @@ -22,7 +22,7 @@ idna==3.4 # via requests packaging==23.0 # via tox -platformdirs==3.1.1 +platformdirs==3.2.0 # via virtualenv pluggy==1.0.0 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index 9d99c9a..9561d84 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -12,7 +12,7 @@ asgiref==3.6.0 # via # -r requirements/test.txt # django -astroid==2.15.0 +astroid==2.15.1 # via # -r requirements/test.txt # pylint @@ -63,7 +63,7 @@ coverage[toml]==7.2.2 # -r requirements/test.txt # codecov # pytest-cov -cryptography==39.0.2 +cryptography==40.0.1 # via # -r requirements/test.txt # pyjwt @@ -92,16 +92,12 @@ exceptiongroup==1.1.1 # via # -r requirements/test.txt # pytest -filelock==3.10.2 +filelock==3.10.7 # via # -r requirements/ci.txt # -r requirements/test.txt # tox # virtualenv -future==0.18.3 - # via - # -r requirements/test.txt - # pyjwkest httpretty==1.1.4 # via -r requirements/test.txt idna==3.4 @@ -156,7 +152,7 @@ pbr==5.11.1 # stevedore pip-tools==6.12.3 # via -r requirements/pip-tools.txt -platformdirs==3.1.1 +platformdirs==3.2.0 # via # -r requirements/ci.txt # -r requirements/test.txt @@ -180,10 +176,6 @@ pycparser==2.21 # -r requirements/test.txt # cffi pycryptodomex==3.17 - # via - # -r requirements/test.txt - # pyjwkest -pyjwkest==1.4.2 # via -r requirements/test.txt pyjwt[crypto]==2.6.0 # via @@ -230,7 +222,7 @@ python3-openid==3.2.0 # via # -r requirements/test.txt # social-auth-core -pytz==2022.7.1 +pytz==2023.2 # via # -r requirements/test.txt # django @@ -243,7 +235,6 @@ requests==2.28.2 # -r requirements/ci.txt # -r requirements/test.txt # codecov - # pyjwkest # requests-oauthlib # social-auth-core requests-oauthlib==1.3.1 @@ -255,7 +246,6 @@ six==1.16.0 # -r requirements/ci.txt # -r requirements/test.txt # edx-lint - # pyjwkest # tox # unittest2 social-auth-app-django==5.1.0 @@ -287,7 +277,7 @@ tomli==2.0.1 # pyproject-hooks # pytest # tox -tomlkit==0.11.6 +tomlkit==0.11.7 # via # -r requirements/test.txt # pylint diff --git a/requirements/test.txt b/requirements/test.txt index ac8c982..659abcb 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -10,7 +10,7 @@ asgiref==3.6.0 # via # -r requirements/base.txt # django -astroid==2.15.0 +astroid==2.15.1 # via # pylint # pylint-celery @@ -41,7 +41,7 @@ coverage[toml]==7.2.2 # via # -r requirements/test.in # pytest-cov -cryptography==39.0.2 +cryptography==40.0.1 # via # -r requirements/base.txt # pyjwt @@ -62,12 +62,10 @@ edx-lint==5.3.4 # via -r requirements/test.in exceptiongroup==1.1.1 # via pytest -filelock==3.10.2 +filelock==3.10.7 # via # tox # virtualenv -future==0.18.3 - # via pyjwkest httpretty==1.1.4 # via -r requirements/test.in idna==3.4 @@ -99,7 +97,7 @@ packaging==23.0 # tox pbr==5.11.1 # via stevedore -platformdirs==3.1.1 +platformdirs==3.2.0 # via # pylint # virtualenv @@ -116,8 +114,6 @@ pycparser==2.21 # -r requirements/base.txt # cffi pycryptodomex==3.17 - # via pyjwkest -pyjwkest==1.4.2 # via -r requirements/test.in pyjwt[crypto]==2.6.0 # via @@ -151,7 +147,7 @@ python3-openid==3.2.0 # via # -r requirements/base.txt # social-auth-core -pytz==2022.7.1 +pytz==2023.2 # via # -r requirements/base.txt # django @@ -160,7 +156,6 @@ pyyaml==6.0 requests==2.28.2 # via # -r requirements/base.txt - # pyjwkest # requests-oauthlib # social-auth-core requests-oauthlib==1.3.1 @@ -171,7 +166,6 @@ six==1.16.0 # via # -r requirements/base.txt # edx-lint - # pyjwkest # tox # unittest2 social-auth-app-django==5.1.0 @@ -194,7 +188,7 @@ tomli==2.0.1 # pylint # pytest # tox -tomlkit==0.11.6 +tomlkit==0.11.7 # via pylint tox==3.28.0 # via