Skip to content

Commit

Permalink
promote pyjwt requirement to top-level
Browse files Browse the repository at this point in the history
remove newly redundant extras
  • Loading branch information
minrk committed Feb 12, 2024
1 parent 3ce8409 commit 657b433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
jsonschema
jupyterhub>=2.2
# PyJWT is used for parsing id tokens
pyjwt
# and azuread
pyjwt>=2
# requests is already required by JupyterHub, but explicitly ask for it since we use it
requests
# ruamel.yaml is used to read and write .yaml files.
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ def run(self):


setup_args['extras_require'] = {
# azuread is required for use of AzureADOAuthenticator
'azuread': ['pyjwt>=2'],
# googlegroups is required for use of GoogleOAuthenticator configured with
# either admin_google_groups and/or allowed_google_groups.
'googlegroups': [
Expand All @@ -106,8 +104,6 @@ def run(self):
'pytest-asyncio>=0.17,<0.23',
'pytest-cov',
'requests-mock',
# dependencies from azuread:
'pyjwt>=2',
# dependencies from googlegroups:
'google-api-python-client',
'google-auth-oauthlib',
Expand Down

0 comments on commit 657b433

Please sign in to comment.