From 6203beb8f13247ed368e3e4a76243082445c68e6 Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 4 Oct 2023 13:20:11 +1100 Subject: [PATCH 1/3] MAINT: Upgrade software stack --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/linkcheck.yml | 4 ++-- .github/workflows/publish.yml | 2 +- environment.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 3a35984b..855e320d 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -15,7 +15,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.10" + python-version: "3.11" environment-file: environment.yml activate-environment: quantecon - name: Build HTML diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e46f62dd..690541dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.10" + python-version: "3.11" environment-file: environment.yml activate-environment: quantecon - name: Graphics Support #TODO: Review if graphviz is needed diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 6f435835..79f0578b 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.10"] + python-version: ["3.11"] steps: - name: Checkout uses: actions/checkout@v2 @@ -23,7 +23,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.10" + python-version: "3.11" environment-file: environment.yml activate-environment: quantecon - name: Download "build" folder (cache) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cd9343d0..c2531730 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.10" + python-version: "3.11" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/environment.yml b/environment.yml index bd92884d..9ac283ec 100644 --- a/environment.yml +++ b/environment.yml @@ -3,8 +3,8 @@ channels: - default - conda-forge dependencies: - - python=3.10 - - anaconda=2023.03 + - python=3.11 + - anaconda=2023.09 - pip - pip: - jupyter-book==0.15.1 From ef7beb13321bd27dd20baa88faffa8f7e9facabc Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 4 Oct 2023 13:22:05 +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 690541dd..e568fc82 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,13 +37,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 PDF from LaTeX shell: bash -l {0} From 7f92a4fdb5183502310be1fe38f599e3853fa40f Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 11 Oct 2023 14:24:52 +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 e568fc82..690541dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,13 +37,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 PDF from LaTeX shell: bash -l {0}