From b4b5a628c2a07a85995b70672ee503a9408cdbaf Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 4 Oct 2023 13:24:35 +1100 Subject: [PATCH 1/3] MAINT: Upgrade software stack --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- environment.yml | 7 ++++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 77e8be2a..75d18d43 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -27,7 +27,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-d + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dba38d8..c128c304 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-d + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0a39db7f..e5ff9b81 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310-d + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - name: Checkout diff --git a/environment.yml b/environment.yml index 762f681c..d3a2c680 100644 --- a/environment.yml +++ b/environment.yml @@ -2,12 +2,13 @@ name: lecture-jax channels: - default dependencies: - - python=3.10 - - anaconda=2022.10 + - python=3.11 + - anaconda=2023.09 - pip - pip: - jupyter-book==0.15.1 - - quantecon-book-theme==0.5.3 + - docutils==0.17.1 + - quantecon-book-theme==0.6.0 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1 From b57c3c16272b834042b911f39c5bd004040283bc Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 4 Oct 2023 13:25:09 +1100 Subject: [PATCH 2/3] TMP: disable build cache --- .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 c128c304..8df84724 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v2 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v2 + # 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 c095f77c5f70650c8f12a2c09029808a87307666 Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 11 Oct 2023 14:51:27 +1100 Subject: [PATCH 3/3] re-enable cache --- .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 8df84724..c128c304 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,13 +41,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v2 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v2 + 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}