From 31382420b564a51d8e245c8831e65a218fbc9efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Schartum=20Dokken?= Date: Tue, 19 Nov 2024 09:28:02 +0100 Subject: [PATCH] Fix CI (#227) * Bump docker/build-push-action from 5 to 6 (#221) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/configure-pages from 4 to 5 (#222) Bumps [actions/configure-pages](https://github.com/actions/configure-pages) from 4 to 5. - [Release notes](https://github.com/actions/configure-pages/releases) - [Commits](https://github.com/actions/configure-pages/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/configure-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update book_stable.yml (#225) * Update book_stable.yml * Update test_stable.yml * resolve #224 (#226) * Update test_stable.yml --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/deploy.yml | 2 +- .github/workflows/publish_docker.yml | 4 ++-- chapter2/ns_code2.ipynb | 1 + chapter2/ns_code2.py | 1 + 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cce3e7da..3e467708 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 - name: Download docs artifact uses: actions/download-artifact@v4 diff --git a/.github/workflows/publish_docker.yml b/.github/workflows/publish_docker.yml index 77ffc5f3..753bf033 100644 --- a/.github/workflows/publish_docker.yml +++ b/.github/workflows/publish_docker.yml @@ -45,7 +45,7 @@ jobs: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Build Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: context: . load: true @@ -56,7 +56,7 @@ jobs: labels: ${{ steps.meta.outputs.labels }} - name: Build (arm) and push (amd/arm) Docker image - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 if: github.event_name == 'push' with: context: . diff --git a/chapter2/ns_code2.ipynb b/chapter2/ns_code2.ipynb index d894cf5e..237dca40 100644 --- a/chapter2/ns_code2.ipynb +++ b/chapter2/ns_code2.ipynb @@ -651,6 +651,7 @@ " if pressure is not None:\n", " p_diff[i] -= pressure[0]\n", " break\n", + "progress.close()\n", "vtx_u.close()\n", "vtx_p.close()" ] diff --git a/chapter2/ns_code2.py b/chapter2/ns_code2.py index 12062c89..1c0be052 100644 --- a/chapter2/ns_code2.py +++ b/chapter2/ns_code2.py @@ -478,6 +478,7 @@ def __call__(self, x): if pressure is not None: p_diff[i] -= pressure[0] break +progress.close() vtx_u.close() vtx_p.close()