From b8cd6a512156b7ea09a72fa26a85a72ed4dc4a2d Mon Sep 17 00:00:00 2001 From: mmcky Date: Wed, 4 Oct 2023 11:48:22 +1100 Subject: [PATCH] MAINT: Upgrade to anaconda==2023.09 + py311 + quantecon0book-theme==0.6.0 --- .github/workflows/cache.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/execution.yml | 6 +++--- .github/workflows/linkcheck.yml | 4 ++-- .github/workflows/publish.yml | 2 +- environment.yml | 7 ++++--- 6 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 112cfb485..4f66e97ed 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -27,7 +27,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310 + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96e909895..592be67e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310 + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/execution.yml b/.github/workflows/execution.yml index ea13ba59a..f36dfbb38 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.10"] + python-version: ["3.11"] steps: - name: Checkout uses: actions/checkout@v2 @@ -54,7 +54,7 @@ jobs: fail-fast: false matrix: os: ["macos-latest"] - python-version: ["3.10"] + python-version: ["3.11"] steps: - name: Checkout uses: actions/checkout@v2 @@ -86,7 +86,7 @@ jobs: # fail-fast: false # matrix: # os: ["windows-latest"] - # python-version: ["3.10"] + # python-version: ["3.11"] # steps: # - name: Checkout # uses: actions/checkout@v2 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 2421da92f..bf5dd359c 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 8cf25e342..c029fe7d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,7 +28,7 @@ jobs: needs: deploy-runner runs-on: [self-hosted, cml-gpu] container: - image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-03-py310 + image: docker://mmcky/quantecon-lecture-python:cuda-12.1.0-anaconda-2023-09-py311 options: --gpus all steps: - name: Checkout diff --git a/environment.yml b/environment.yml index 926adb7ff..45f711896 100644 --- a/environment.yml +++ b/environment.yml @@ -2,12 +2,13 @@ name: quantecon channels: - default dependencies: - - python=3.10 - - anaconda=2023.03 + - python=3.11 + - anaconda=2023.09 - pip - pip: - jupyter-book==0.15.1 - - quantecon-book-theme==0.4.1 + - docutils==0.17.1 + - quantecon-book-theme==0.6.0 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1