Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 7d94a4c

Browse files
committed
Upgrade jupyter authentication packages
1 parent bb8fea4 commit 7d94a4c

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

modules/jupyter/authentication/authenticator/setup.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@
1515

1616
setuptools.setup(
1717
name="jupyterhub-gcp-iap-authenticator",
18-
python_requires='>=3.9.0',
19-
version="0.2.0",
18+
python_requires='>=3.12.0',
19+
version="0.3.0",
2020
author="Aaron Liang",
2121
author_email="[email protected]",
22-
description="JupyterHub authenticator for Cloud IAP with JWT",
23-
long_description="long description here",
22+
description="JupyterHub Authenticator for Cloud IAP with JWT",
23+
long_description="JupyterHub Authenticator for Cloud Identity-Aware Proxy with JSON Web Token",
2424
long_description_content_type="text/markdown",
25-
url="https://github.com/chiayi/ai-on-gke/tree/main/ray-on-gke/user/jupyterhub/auth",
25+
url="https://github.com/GoogleCloudPlatform/ai-on-gke/tree/main/modules/jupyter/authentication",
2626
packages=['gcpiapjwtauthenticator'],
2727
license='Apache 2.0',
2828
install_requires=[
29-
"jupyterhub>=4.1.0",
30-
"tornado>=6.3.3",
31-
'oauthenticator>=0.9.0',
32-
'pyjwt>=2.7.0',
33-
"google-api-python-client",
34-
"google-auth",
35-
"google-auth-oauthlib",
36-
"google-cloud",
37-
]
38-
)
29+
"jupyterhub>=5.2.1",
30+
"tornado>=6.4.2",
31+
"oauthenticator>=17.3.0",
32+
"pyjwt>=2.10.1",
33+
"google-api-python-client>=2.163.0",
34+
"google-auth>=2.38.0",
35+
"google-auth-oauthlib>=1.2.1",
36+
"google-cloud>=0.34.0",
37+
],
38+
)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM jupyterhub/k8s-hub:3.3.0
1+
FROM jupyterhub/k8s-hub:5.2.1
22

3-
RUN pip3 install --no-cache-dir git+https://github.com/GoogleCloudPlatform/ai-on-gke/@main#subdirectory=modules/jupyter/authentication/authenticator
3+
RUN pip3 install --no-cache-dir git+https://github.com/GoogleCloudPlatform/ai-on-gke/@main#subdirectory=modules/jupyter/authentication/authenticator

modules/jupyter/authentication/docker_image/cloudbuild.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# to build, run `gcloud builds submit --config cloudbuild.yaml .` in directory
1616
steps:
1717
- name: 'gcr.io/cloud-builders/docker'
18-
args: [ 'pull', 'docker.io/jupyterhub/k8s-hub:3.0.0' ]
18+
args: [ 'pull', 'docker.io/jupyterhub/k8s-hub:5.2.1' ]
1919
- name: 'gcr.io/cloud-builders/docker'
2020
args: [ 'build', '-t', '<Artifact Registry Repo Path>/<name of image>', '.' ]
2121
images:
22-
- '<Artifact Registry Repo Path>/<name of image>'
22+
- '<Artifact Registry Repo Path>/<name of image>'

modules/jupyter/jupyter_config/config-selfauth-autopilot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hub:
2525
image:
2626
name: us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class
2727
# This is the timestamp of the image, we should avoid using 'latest'
28-
tag: '1710974014'
28+
tag: '1741297709'
2929
labels:
3030
${indent(4, chomp(jsonencode(additional_labels)))}
3131
config:

modules/jupyter/jupyter_config/config-selfauth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ hub:
2525
image:
2626
name: us-docker.pkg.dev/ai-on-gke/jupyterhub-authentication-class/jupyter-auth-class
2727
# This is the timestamp of the image, we should avoid using 'latest'
28-
tag: '1710974014'
28+
tag: '1741297709'
2929
labels:
3030
${indent(4, chomp(jsonencode(additional_labels)))}
3131
config:

0 commit comments

Comments
 (0)