From c334e0faf0a40f78d2c584e6d5b339a072cb2b7d Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Sun, 3 Mar 2024 15:14:09 -0800 Subject: [PATCH 1/5] Update debian security repository for demo-base docker image --- etc/docker/demo-base/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/docker/demo-base/Dockerfile b/etc/docker/demo-base/Dockerfile index e9b49801..9b484c50 100644 --- a/etc/docker/demo-base/Dockerfile +++ b/etc/docker/demo-base/Dockerfile @@ -53,7 +53,8 @@ RUN dpkg --purge --force-depends ca-certificates-java \ software-properties-common \ openssh-server \ openssh-client \ - && apt-add-repository 'deb http://security.debian.org/debian-security stretch/updates main' \ + && apt-add-repository 'deb http://security.debian.org/debian-security bullseye-security main' \ + && apt-add-repository 'deb http://deb.debian.org/debian/ sid main' \ && apt-get update && apt-get install -yq --no-install-recommends \ openjdk-8-jre-headless \ ca-certificates-java \ From 0926254dfd68be4ba37e77f9abe5bccd6aec2faa Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Sun, 3 Mar 2024 15:14:54 -0800 Subject: [PATCH 2/5] Use more recent tensorflow base image as old one is unavailable --- etc/docker/kernel-tf-py/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/docker/kernel-tf-py/Dockerfile b/etc/docker/kernel-tf-py/Dockerfile index 5e46d784..b6b7e225 100644 --- a/etc/docker/kernel-tf-py/Dockerfile +++ b/etc/docker/kernel-tf-py/Dockerfile @@ -1,6 +1,6 @@ # Ubuntu:Bionic # TensorFlow 2.4.0 -ARG BASE_CONTAINER=jupyter/tensorflow-notebook:2023-03-13 +ARG BASE_CONTAINER=jupyter/tensorflow-notebook:2023-10-20 FROM $BASE_CONTAINER From b8cfc850a2a442414594717e5f8aac2f9e5fa420 Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Sun, 3 Mar 2024 15:40:29 -0800 Subject: [PATCH 3/5] Update hatchling to version 1.21.1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4da7fef0..9177df33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling>=1.5"] +requires = ["hatchling>=1.21.1"] build-backend = "hatchling.build" [project] From b7f1744d9cbd1b6c847283627e5800cb64474855 Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Sun, 3 Mar 2024 15:52:44 -0800 Subject: [PATCH 4/5] Pin pytest < 8.1.0 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9177df33..90cd4ee2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ jupyter-enterprisegateway = "enterprise_gateway.enterprisegatewayapp:launch_inst [project.optional-dependencies] test = [ "coverage", - "pytest", + "pytest<8.1.0", "pytest-tornasync", "ipykernel", "pre-commit", From 49b9e2b3098b0a2aa3e9059f005b888be844286c Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Fri, 8 Mar 2024 21:05:19 -0800 Subject: [PATCH 5/5] Force dependency install before check-links --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc719704..720d2fc2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,6 +71,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 + - name: Install Python dependencies + run: | + pip install ".[test]" - uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1 with: ignore_links: "http://my-gateway-server.com:8888"