From b7be83c123b00eb70a0eaf1c55de3d0b762b7005 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 17 Oct 2024 20:30:09 +1100 Subject: [PATCH] MAINT: Update python=3.12 and latest Anaconda (#319) * MAINT: Update python=3.12 and latest Anaconda * enable dependabot for github action updates * TMP: disable build cache * Revert "TMP: disable build cache" This reverts commit e7d1fca854525939cb28b18ad00b0ab22e264543. --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/execution-linux.yml | 2 +- .github/workflows/execution-osx.yml | 2 +- .github/workflows/execution-win.yml | 2 +- .github/workflows/linkcheck.yml | 4 ++-- .github/workflows/publish.yml | 2 +- environment.yml | 6 +++--- 9 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..7809c2a9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + commit-message: + prefix: ⬆️ + schedule: + interval: weekly diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 0b1bddc6..607304d4 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -14,7 +14,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: Build HTML diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a30032..3168c91d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,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-linux.yml b/.github/workflows/execution-linux.yml index eea81442..fedc2e41 100644 --- a/.github/workflows/execution-linux.yml +++ b/.github/workflows/execution-linux.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 diff --git a/.github/workflows/execution-osx.yml b/.github/workflows/execution-osx.yml index ac1081af..b6aab55c 100644 --- a/.github/workflows/execution-osx.yml +++ b/.github/workflows/execution-osx.yml @@ -11,7 +11,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/execution-win.yml b/.github/workflows/execution-win.yml index fea110b5..6f7e1ae3 100644 --- a/.github/workflows/execution-win.yml +++ b/.github/workflows/execution-win.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: os: ["windows-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 69b702b8..43622ee9 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 48345bfd..0330dce7 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 ba2a15a9..fd47060f 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.06 - 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