From 615518aa1142d7e3473078f3f8c5a39f17c80521 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Tue, 26 Nov 2024 10:56:30 +1100 Subject: [PATCH] MAINT: upgrade anaconda==2024.10 and python=3.12 (#182) * update to anaconda=2024.10 * disabl build cache * fix python for linkchecker * update no-execute to skip-execution * re-enable build cache --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/execution.yml | 4 ++-- .github/workflows/linkcheck.yml | 4 ++-- .github/workflows/publish.yml | 2 +- environment.yml | 6 +++--- lectures/matsuyama.md | 4 ++-- 7 files changed, 12 insertions(+), 12 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..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 @@ -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 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),