Skip to content

Commit

Permalink
chore: Updating Python Requirements (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
edx-requirements-bot authored and mumarkhan999 committed Mar 27, 2023
1 parent 6eaed87 commit 9e4d482
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 34 deletions.
4 changes: 2 additions & 2 deletions auth_backends/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
4 changes: 2 additions & 2 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ coverage==7.2.2
# via codecov
distlib==0.3.6
# via virtualenv
filelock==3.10.2
filelock==3.10.7
# via
# tox
# virtualenv
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
Expand Down
22 changes: 6 additions & 16 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
18 changes: 6 additions & 12 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9e4d482

Please sign in to comment.