From c300eee04ab79f0c1c16eab5cfe790ff1bab7d73 Mon Sep 17 00:00:00 2001 From: Humphrey Yang Date: Mon, 29 Sep 2025 15:33:23 +1000 Subject: [PATCH] MAINT: upgrade anaconda=2025.06 and python=3.13 --- .github/workflows/_future/cache-windows.yml | 2 +- .github/workflows/_future/ci-cn.yml | 2 +- .github/workflows/_future/ci-windows.yml | 2 +- .github/workflows/_future/linkcheck.yml | 4 ++-- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/publish.yml | 2 +- environment-cn.yml | 16 ++++++++-------- environment.yml | 18 ++++++++---------- 9 files changed, 24 insertions(+), 26 deletions(-) diff --git a/.github/workflows/_future/cache-windows.yml b/.github/workflows/_future/cache-windows.yml index ce6e418f..553cb64f 100644 --- a/.github/workflows/_future/cache-windows.yml +++ b/.github/workflows/_future/cache-windows.yml @@ -17,7 +17,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Build HTML diff --git a/.github/workflows/_future/ci-cn.yml b/.github/workflows/_future/ci-cn.yml index f98e5789..a28e75d1 100644 --- a/.github/workflows/_future/ci-cn.yml +++ b/.github/workflows/_future/ci-cn.yml @@ -12,7 +12,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.12" + python-version: "3.13" environment-file: environment-cn.yml activate-environment: quantecon - name: Graphics Support diff --git a/.github/workflows/_future/ci-windows.yml b/.github/workflows/_future/ci-windows.yml index fd625124..ad0ce0d7 100644 --- a/.github/workflows/_future/ci-windows.yml +++ b/.github/workflows/_future/ci-windows.yml @@ -12,7 +12,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Download "build" folder (cache) diff --git a/.github/workflows/_future/linkcheck.yml b/.github/workflows/_future/linkcheck.yml index e5151f0a..a2e8a7ff 100644 --- a/.github/workflows/_future/linkcheck.yml +++ b/.github/workflows/_future/linkcheck.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest"] - python-version: ["3.12"] + python-version: ["3.13"] 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.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Download "build" folder (cache) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index d8ccc661..16fffa11 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -16,7 +16,7 @@ jobs: auto-update-conda: true auto-activate-base: true miniconda-version: 'latest' - python-version: "3.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: graphviz Support # TODO: required? diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3294f929..36ddb70b 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.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Graphics Support #TODO: Review if graphviz is needed diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 55bf242c..8d448d28 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.12" + python-version: "3.13" environment-file: environment.yml activate-environment: quantecon - name: Install latex dependencies diff --git a/environment-cn.yml b/environment-cn.yml index d899e17a..e253e397 100644 --- a/environment-cn.yml +++ b/environment-cn.yml @@ -3,18 +3,18 @@ channels: - default - conda-forge dependencies: - - python=3.12 - - anaconda=2024.10 + - python=3.13 + - anaconda=2025.06 - pip - pip: - - jupyter-book==1.0.3 - - quantecon-book-theme==0.8.2 - - sphinx-tojupyter==0.3.0 + - jupyter-book==1.0.4post1 + - quantecon-book-theme==0.9.2 + - sphinx-tojupyter==0.3.1 - sphinxext-rediraffe==0.2.7 - sphinx_reredirects==0.1.4 - sphinx-exercise==1.0.1 - - sphinx-proof==0.2.0 + - sphinx-proof==0.2.1 - ghp-import==1.1.0 - - sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5 + - sphinxcontrib-youtube==1.4.1 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5 - sphinx-togglebutton==0.3.2 - - --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple + - --index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple \ No newline at end of file diff --git a/environment.yml b/environment.yml index fa86041a..28d6a96f 100644 --- a/environment.yml +++ b/environment.yml @@ -2,18 +2,16 @@ name: quantecon channels: - default dependencies: - - python=3.12 - - anaconda=2024.10 + - python=3.13 + - anaconda=2025.06 - pip - pip: - - jupyter-book==1.0.3 - - quantecon-book-theme==0.8.2 - - sphinx-tojupyter==0.3.0 + - jupyter-book==1.0.4post1 + - quantecon-book-theme==0.9.2 + - sphinx-tojupyter==0.3.1 - sphinxext-rediraffe==0.2.7 - - sphinx-reredirects==0.1.4 - sphinx-exercise==1.0.1 - - sphinx-proof==0.2.0 - - ghp-import==1.1.0 - - sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5 + - sphinx-proof==0.2.1 + - sphinxcontrib-youtube==1.4.1 - sphinx-togglebutton==0.3.2 - + - sphinx-reredirects==0.1.4 \ No newline at end of file