Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use python 3.12 instead of 3.11 in built images #3526

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/refreeze
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for img in ${IMAGES}; do
--volume="$PWD:/io" \
--workdir=/io \
--user=root \
python:3.11-bookworm \
python:3.12-bookworm \
sh -c 'pip install pip-tools==7.* && pip-compile --allow-unsafe --strip-extras --upgrade'
popd
done
4 changes: 2 additions & 2 deletions images/hub/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# NOTE: If the image version is updated, also update it in ci/refreeze and
# singleuser-sample's Dockerfile!
#
FROM python:3.11-bookworm as build-stage
FROM python:3.12-bookworm as build-stage

# Build wheels
#
Expand Down Expand Up @@ -38,7 +38,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
# This stage is built and published as quay.io/jupyterhub/k8s-hub-slim. It is meant to
# provide no non-essential packages.
#
FROM python:3.11-slim-bookworm as slim-stage
FROM python:3.12-slim-bookworm as slim-stage
ENV DEBIAN_FRONTEND=noninteractive

ARG NB_USER=jovyan \
Expand Down
2 changes: 1 addition & 1 deletion images/secret-sync/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11-alpine
FROM python:3.12-alpine

# VULN_SCAN_TIME=2024-09-09_05:05:19

Expand Down
4 changes: 2 additions & 2 deletions images/singleuser-sample/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# NOTE: If the image version is updated, also update it in ci/refreeze and
# hub's Dockerfile!
#
FROM python:3.11-bookworm as build-stage
FROM python:3.12-bookworm as build-stage

# Build wheels
#
Expand All @@ -30,7 +30,7 @@ RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
# The final stage
# ---------------
#
FROM python:3.11-slim-bookworm
FROM python:3.12-slim-bookworm
ENV DEBIAN_FRONTEND=noninteractive

ENV NB_USER=jovyan \
Expand Down