From 6606f5e00c33558c4948539cd057f2b26584b97d Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Fri, 6 Dec 2024 11:06:19 +1100 Subject: [PATCH] MAINT: update jupyter-book==1.0.3 and maintenance tasks (#187) * update ga workflows * tmp: disable build cache * update status page * Revert "tmp: disable build cache" This reverts commit 09d4e2fdde94078e0a6f74c447ff9ceb170b4a70. --- .github/workflows/cache.yml | 7 ++----- .github/workflows/linkcheck.yml | 3 --- environment.yml | 17 ++++++++++------- lectures/status.md | 18 ++++++++++++++++-- 4 files changed, 28 insertions(+), 17 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index ec08c11d..c83e76b7 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -1,11 +1,8 @@ name: Build Cache [using jupyter-book] on: - push: - branches: - - main schedule: - # run cache monthly to prevent expiration - - cron: '0 0 1 * *' + # Execute cache weekly at 3am on Monday + - cron: '0 3 * * 1' jobs: tests: runs-on: ubuntu-latest diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 887914c7..6552b815 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -2,9 +2,6 @@ name: Link Checker [Anaconda, Linux] on: pull_request: types: [opened, reopened] - schedule: - # UTC 12:00 is early morning in Australia - - cron: '0 12 * * *' jobs: link-check-linux: name: Link Checking (${{ matrix.python-version }}, ${{ matrix.os }}) diff --git a/environment.yml b/environment.yml index d971c2a5..f69c4ec3 100644 --- a/environment.yml +++ b/environment.yml @@ -6,13 +6,16 @@ dependencies: - anaconda=2024.10 - pip - pip: - - jupyter-book==0.15.1 - - docutils==0.17.1 - - quantecon-book-theme==0.7.2 + - jupyter-book==1.0.3 + - quantecon-book-theme==0.7.6 - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - - sphinx-exercise==0.4.1 + - sphinx-reredirects==0.1.4 + - sphinx-exercise==1.0.1 + - sphinx-proof==0.2.0 - ghp-import==1.1.0 - - sphinxcontrib-youtube==1.1.0 - - sphinx-togglebutton==0.3.1 - - sphinx-proof + - sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5 + - sphinx-togglebutton==0.3.2 + # Docker Requirements + - pytz + diff --git a/lectures/status.md b/lectures/status.md index 8d676153..3ada25f0 100644 --- a/lectures/status.md +++ b/lectures/status.md @@ -16,5 +16,19 @@ This table contains the latest execution statistics. ```{nb-exec-table} ``` -These lectures are built on `linux` instances through `github actions` so are -executed using the following [hardware specifications](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources) +(status:machine-details)= + +These lectures are built on `linux` instances through `github actions`. + +These lectures are using the following python version + +```{code-cell} ipython +!python --version +``` + +and the following package versions + +```{code-cell} ipython +:tags: [hide-output] +!conda list +``` \ No newline at end of file