From 654dbe6ef08e785e535b6ca2e051469fdedcefe3 Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 13 Nov 2024 09:52:32 +1100 Subject: [PATCH 1/5] update to anaconda=2024.10 --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/execution.yml | 4 ++-- .github/workflows/linkcheck.yml | 2 +- .github/workflows/publish.yml | 2 +- environment.yml | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 7b4316bc..ec08c11d 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -18,7 +18,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.11" + python-version: "3.12" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a761f8f6..f577c09e 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.11" + python-version: "3.12" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/.github/workflows/execution.yml b/.github/workflows/execution.yml index cb4b5b9b..16b55aec 100644 --- a/.github/workflows/execution.yml +++ b/.github/workflows/execution.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.11"] + python-version: ["3.12"] steps: - name: Checkout uses: actions/checkout@v4 @@ -53,7 +53,7 @@ jobs: fail-fast: false matrix: os: ["macos-latest"] - python-version: ["3.11"] + python-version: ["3.12"] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 2756bf1e..15e11099 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -23,7 +23,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.11" + python-version: "3.12" 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 4ab70d9b..62a87e68 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.11" + python-version: "3.12" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/environment.yml b/environment.yml index 7829fc99..d971c2a5 100644 --- a/environment.yml +++ b/environment.yml @@ -2,13 +2,13 @@ name: quantecon channels: - default dependencies: - - python=3.11 - - anaconda=2024.02 + - python=3.12 + - anaconda=2024.10 - pip - pip: - jupyter-book==0.15.1 - docutils==0.17.1 - - quantecon-book-theme==0.7.1 + - quantecon-book-theme==0.7.2 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1 From edf539acccb39f3e389ac0fe434b93bf8088169b Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 13 Nov 2024 09:52:55 +1100 Subject: [PATCH 2/5] disabl 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 f577c09e..e78ebaff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,13 +34,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v6 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v6 + # 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 d5e8448439cf1810511e98a261e45dca87a39aa0 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 18 Nov 2024 14:33:10 +1100 Subject: [PATCH 3/5] fix python for linkchecker --- .github/workflows/linkcheck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 15e11099..c45e2b2d 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.11"] + python-version: ["3.12"] steps: - name: Checkout uses: actions/checkout@v4 From 08f289bbc0958dd3f0593642d54f78cfb8d18e6f Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 26 Nov 2024 10:14:11 +1100 Subject: [PATCH 4/5] update no-execute to skip-execution --- lectures/matsuyama.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lectures/matsuyama.md b/lectures/matsuyama.md index c464db57..68dc7bb8 100644 --- a/lectures/matsuyama.md +++ b/lectures/matsuyama.md @@ -799,7 +799,7 @@ In order to use this, we recommend to run this notebook locally. ``` ```{code-cell} ipython3 -:class: no-execute +:tags: [skip-execution] def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250): # Create the figure and axis that we will plot on @@ -818,7 +818,7 @@ def interact_attraction_basis(ρ=0.2, maxiter=250, npts=250): ``` ```{code-cell} ipython3 -:class: no-execute +:tags: [skip-execution] fig = interact(interact_attraction_basis, ρ=(0.0, 1.0, 0.05), From dbb265b35539444e24c5f8903c54c278abc7b2fb Mon Sep 17 00:00:00 2001 From: mmcky Date: Tue, 26 Nov 2024 10:55:55 +1100 Subject: [PATCH 5/5] re-enable 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 e78ebaff..f577c09e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,13 +34,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - # - name: Download "build" folder (cache) - # uses: dawidd6/action-download-artifact@v6 - # with: - # workflow: cache.yml - # branch: main - # name: build-cache - # path: _build + - name: Download "build" folder (cache) + uses: dawidd6/action-download-artifact@v6 + 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}