Skip to content

Commit 5940cd7

Browse files
committed
breaking: test and use Python 3.11, up from Python 3.9
1 parent d71167e commit 5940cd7

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.github/workflows/diff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
- uses: actions/setup-python@v4
3737
with:
38-
python-version: "3.9"
38+
python-version: "3.11"
3939

4040
- name: Install helm diff plugin, update local chart dependencies
4141
run: |

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
fetch-depth: 0
4242
- uses: actions/setup-python@v4
4343
with:
44-
python-version: "3.9"
44+
python-version: "3.11"
4545

4646
- name: Set up QEMU (for docker buildx)
4747
uses: docker/setup-qemu-action@v2
@@ -109,7 +109,7 @@ jobs:
109109
fetch-depth: 0
110110
- uses: actions/setup-python@v4
111111
with:
112-
python-version: "3.9"
112+
python-version: "3.11"
113113
- name: Install pypa/build
114114
run: python -mpip install build
115115
- name: Build a sdist, and a binary wheel from the sdist

.github/workflows/test-docker-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
- uses: actions/setup-python@v4
4040
with:
41-
python-version: "3.9"
41+
python-version: "3.11"
4242

4343
- name: Install chartpress
4444
run: pip install chartpress

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
- uses: actions/setup-python@v4
155155
id: setup-python
156156
with:
157-
python-version: "3.9"
157+
python-version: "3.11"
158158

159159
- name: Cache pip
160160
uses: actions/cache@v3

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.9-bullseye \
13+
python:3.11-bullseye \
1414
sh -c 'pip install pip-tools==6.* && pip-compile --upgrade helm-chart/images/binderhub/requirements.in'

helm-chart/images/binderhub/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
# NOTE: If the image version is updated, also update it in ci/refreeze!
88
#
9-
FROM python:3.9-bullseye as build-stage
9+
FROM python:3.11-bullseye as build-stage
1010
WORKDIR /build-stage
1111

1212
# install node as required to build a binderhub wheel
@@ -23,14 +23,14 @@ COPY . .
2323
RUN --mount=type=cache,target=${PIP_CACHE_DIR} \
2424
pip install build \
2525
&& pip wheel \
26-
. \
27-
pycurl \
28-
-r helm-chart/images/binderhub/requirements.txt
26+
. \
27+
pycurl \
28+
-r helm-chart/images/binderhub/requirements.txt
2929

3030

3131
# The final stage
3232
# ---------------
33-
FROM python:3.9-slim-bullseye
33+
FROM python:3.11-slim-bullseye
3434

3535
ENV PYTHONUNBUFFERED=1
3636
ENV DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)