Skip to content

Commit 463e1fb

Browse files
authored
Merge pull request #26 from lifematics/master
Jupyterhubイメージ最新化,OpenSSL脆弱性対応等
2 parents 50d7c8a + 66fe057 commit 463e1fb

7 files changed

Lines changed: 21 additions & 14 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# jobs or have "template" jobs, so we use `if` conditions on steps
4444
tests:
4545
runs-on: ubuntu-22.04
46-
timeout-minutes: 10
46+
timeout-minutes: 20
4747

4848
permissions:
4949
contents: read

binderhub/static/js/components/LinkGenerator.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ export function LinkGenerator({
342342
</div>
343343
</div>
344344
</div>
345+
<div style={{ textAlign: "right" }}>
346+
<a href="https://jdcat.jsps.go.jp/analysis-In-case-of-error.html" target="_blank" rel="noopener noreferrer">問い合わせ先/エラーが発生したときは</a><br/>
347+
<a href="https://jdcat.jsps.go.jp/analysis-In-case-of-error.html" target="_blank" rel="noopener noreferrer">Contact Information/Troubleshooting</a>
348+
</div>
345349
</form>
346350
);
347351
}

ci/refreeze

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ docker run --rm \
1010
--volume="$PWD:/io" \
1111
--workdir=/io \
1212
--user=root \
13-
python:3.11-bullseye \
13+
python:3.13-bookworm \
1414
sh -c 'pip install pip-tools==7.* && pip-compile --allow-unsafe --strip-extras --upgrade helm-chart/images/binderhub/requirements.in'

helm-chart/binderhub/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Chart.yaml v2 reference: https://helm.sh/docs/topics/charts/#the-chartyaml-file
22
apiVersion: v2
33
name: binderhub
4-
version: 0.2.0-jhub-1.1.3.git.2398.h2365dd6
4+
version: 0.2.5-20260304.3
55
dependencies:
66
# Source code: https://github.com/jupyterhub/zero-to-jupyterhub-k8s
77
# Latest version: https://github.com/jupyterhub/zero-to-jupyterhub-k8s/tags
@@ -12,7 +12,7 @@ dependencies:
1212
# and run "./dependencies freeze --upgrade".
1313
#
1414
- name: jupyterhub
15-
version: "4.1.0-0.dev.git.6950.h5e4c7698"
15+
version: "4.1.0-20260304.2"
1616
repository: "https://rcosdp.github.io/CS-jhub-helm-chart/"
1717
description: |-
1818
BinderHub is like a JupyterHub that automatically builds environments for the

helm-chart/images/binderhub/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# NOTE: If the image version is updated, also update it in ci/refreeze!
1010
#
11-
FROM python:3.11-bullseye as build-stage
11+
FROM python:3.13-bookworm as build-stage
1212

1313
# Workaround: CS-jupyterhub requires nodejs and npm to be installed.
1414
RUN apt-get update \
@@ -50,7 +50,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
5050
# ---------------
5151
# This stage is built and published as quay.io/jupyterhub/k8s-binderhub.
5252
#
53-
FROM python:3.11-slim-bullseye
53+
FROM python:3.13-slim-bookworm
5454

5555
ENV PYTHONUNBUFFERED=1
5656
ENV DEBIAN_FRONTEND=noninteractive

helm-chart/images/binderhub/requirements.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# Use the "Run workflow" button at https://github.com/jupyterhub/binderhub/actions/workflows/watch-dependencies.yaml
@@ -14,6 +14,8 @@ anyio==4.11.0
1414
# via httpx
1515
arrow==1.4.0
1616
# via isoduration
17+
async-generator==1.10
18+
# via jupyterhub
1719
attrs==25.4.0
1820
# via
1921
# jsonschema
@@ -38,6 +40,8 @@ charset-normalizer==3.4.4
3840
# via requests
3941
cryptography==46.0.3
4042
# via certipy
43+
deprecated==1.2.18
44+
# via opentelemetry-api
4145
docker==7.1.0
4246
# via
4347
# -r helm-chart/images/binderhub/../../../requirements.txt
@@ -305,6 +309,8 @@ webcolors==25.10.0
305309
# via jsonschema
306310
websocket-client==1.9.0
307311
# via kubernetes
312+
wrapt==1.17.2
313+
# via deprecated
308314
zipp==3.23.0
309315
# via importlib-metadata
310316

testing/k8s-binder-k8s-hub/binderhub-chart-config-old.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# This config is used when both BinderHub and the JupyterHub it uses are
22
# deployed to a kubernetes cluster.
3-
cors:
4-
allowOrigin: '*'
5-
63
service:
74
type: NodePort
85
nodePort: 30901
@@ -15,6 +12,7 @@ config:
1512
hub_url_local: http://proxy-public
1613
use_registry: false
1714
log_level: 10
15+
cors_allow_origin: "*"
1816

1917
# NOTE: This is a mirror of the jupyterhub section in
2018
# jupyterhub-chart-config.yaml in testing/local-binder-k8s-hub, keep these
@@ -23,10 +21,6 @@ jupyterhub:
2321
debug:
2422
enabled: true
2523

26-
custom:
27-
cors:
28-
allowOrigin: "*"
29-
3024
hub:
3125
# cookieSecret must be a hex encoded even length string
3226
cookieSecret: "cccccccccc"
@@ -35,6 +29,9 @@ jupyterhub:
3529
services:
3630
binder:
3731
apiToken: "dummy-binder-secret-token"
32+
config:
33+
BinderSpawner:
34+
cors_allow_origin: "*"
3835

3936
proxy:
4037
secretToken: "dummy-proxy-secret-token"

0 commit comments

Comments
 (0)