From 527bcc4c9b7162391822471deb0ec86f88974454 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 21 Oct 2024 18:15:26 +1100 Subject: [PATCH 1/3] MAINT: upgrade software --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- environment.yml | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index a5edb46..ddad8ce 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -7,7 +7,7 @@ jobs: cache: runs-on: ubuntu-latest-gpu container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.5.0-anaconda-2024-06-py311 + image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-06-py312 options: --gpus all steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b14d70a..0c89752 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ jobs: preview: runs-on: ubuntu-latest-gpu container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.5.0-anaconda-2024-06-py311 + image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-06-py312 options: --gpus all steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c9d2441..808f8bb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') runs-on: ubuntu-latest-gpu container: - image: ghcr.io/quantecon/lecture-python-container:cuda-12.5.0-anaconda-2024-06-py311 + image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-06-py312 options: --gpus all steps: - name: Checkout diff --git a/environment.yml b/environment.yml index a460757..a11b0f9 100644 --- a/environment.yml +++ b/environment.yml @@ -2,12 +2,12 @@ name: quantecon channels: - default dependencies: - - python=3.11 + - python=3.12 - anaconda=2024.06 - pip - pip: - jupyter-book==0.15.1 - - quantecon-book-theme==0.7.1 + - quantecon-book-theme==0.7.2 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-reredirects==0.1.3 From 441d141a5ef097b1432fbfdff37093a42ddc79e4 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 21 Oct 2024 18:18:00 +1100 Subject: [PATCH 2/3] TMP: disable build cache for full run --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c89752..30fe53d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v3 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v3 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From 3f37aade948bfe0e171903c588215d7a978399b3 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 21 Oct 2024 20:19:06 +1100 Subject: [PATCH 3/3] Revert "TMP: disable build cache for full run" This reverts commit 441d141a5ef097b1432fbfdff37093a42ddc79e4. --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30fe53d..0c89752 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v3 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v3 + with: + workflow: cache.yml + branch: main + name: build-cache + path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0}