Skip to content

Commit be1abfc

Browse files
committed
chore: bump python version for jupyter-for-local to 3.11
1 parent 67a97b4 commit be1abfc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
POETRY_VIRTUALENVS_CREATE: true
2121
POETRY_VIRTUALENVS_IN_PROJECT: true
2222
POETRY_INSTALLER_PARALLEL: true
23-
JUPYTER_FOR_LOCAL_PYTHON_VERSION: "3.9"
23+
JUPYTER_FOR_LOCAL_PYTHON_VERSION: "3.11"
2424

2525
concurrency:
2626
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -395,13 +395,15 @@ jobs:
395395
aws s3 cp "s3://${STAGING_BUCKET}/deepnote-toolkit/${VERSION}/installer.zip" "/tmp/dist${PYTHON_VER}/installer.zip"
396396
397397
- name: Build jupyter-for-local docker image
398+
env:
399+
PYTHON_VERSION: ${{ env.JUPYTER_FOR_LOCAL_PYTHON_VERSION }}
398400
run: |
399401
docker build \
400402
--progress plain \
401-
--build-arg "FROM_PYTHON_TAG=3.9" \
403+
--build-arg "FROM_PYTHON_TAG=${PYTHON_VERSION}" \
402404
--build-arg "BUNDLE_PATH=./" \
403405
--tag deepnote/jupyter-for-local:${VERSION} \
404-
-f dockerfiles/jupyter-for-local/Dockerfile /tmp/dist3.9/
406+
-f dockerfiles/jupyter-for-local/Dockerfile /tmp/dist${PYTHON_VERSION}/
405407
406408
- name: Push jupyter-for-local image
407409
run: |

bin/test-local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cleanup() {
1515
trap cleanup EXIT
1616

1717
export TOOLKIT_VERSION="local-build"
18-
export PYTHON_VERSION=${PYTHON_VERSION:-"3.9"}
18+
export PYTHON_VERSION=${PYTHON_VERSION:-"3.11"}
1919
export COVERAGE_ENABLED=${COVERAGE_ENABLED:-"true"}
2020

2121
if [ "${COVERAGE_ENABLED:-true}" = "true" ]; then

0 commit comments

Comments
 (0)