From d60cb3f9160d41e59db6980f73074158648e6ee0 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 18 Jun 2026 17:50:58 +1000 Subject: [PATCH 1/2] [collab] Sync build-tool pins with environment.yml The weekly Colab execution check builds with `-W --keep-going`, so any warning fails the build. The hand-maintained pip install in collab.yml had drifted from environment.yml, producing two config-compat warnings that failed the build every week (no notebook actually fails to execute): - quantecon-book-theme==0.8.2 predates the `sticky_contents` theme option -> "unsupported theme option 'sticky_contents' given" - unpinned sphinx-exercise (latest) no longer registers `exercise_style` -> "unknown config value 'exercise_style' in override, ignoring" Pin the build tools to the same versions environment.yml uses (which ci.yml builds against cleanly), keeping the explicit list so the Colab runtime image's scientific stack is preserved. Fixes #905 Co-Authored-By: Claude Opus 4.8 --- .github/workflows/collab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index de57edec9..49ee43ac1 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -18,7 +18,7 @@ jobs: - name: Install Build Software & LaTeX shell: bash -l {0} run: | - pip install jupyter-book==1.0.3 quantecon-book-theme==0.8.2 sphinx-tojupyter==0.3.0 sphinxext-rediraffe==0.2.7 sphinxcontrib-youtube==1.3.0 sphinx-togglebutton==0.3.2 arviz sphinx-proof sphinx-exercise sphinx-reredirects + pip install "jupyter-book>=1.0.4post1,<2.0" quantecon-book-theme==0.21.0 sphinx-tojupyter==0.6.0 sphinxext-rediraffe==0.3.0 sphinxcontrib-youtube==1.5.0 sphinx-togglebutton==0.4.5 arviz sphinx-proof==0.4.0 sphinx-exercise==1.2.1 sphinx-reredirects==1.1.0 apt-get update apt-get install dvipng texlive texlive-latex-extra texlive-fonts-recommended cm-super - name: Check nvidia drivers From ef35f841ef1961acdda8d7e3cccfd609045d70b1 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 18 Jun 2026 18:22:01 +1000 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/workflows/collab.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index 49ee43ac1..16764c7ec 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -18,7 +18,17 @@ jobs: - name: Install Build Software & LaTeX shell: bash -l {0} run: | - pip install "jupyter-book>=1.0.4post1,<2.0" quantecon-book-theme==0.21.0 sphinx-tojupyter==0.6.0 sphinxext-rediraffe==0.3.0 sphinxcontrib-youtube==1.5.0 sphinx-togglebutton==0.4.5 arviz sphinx-proof==0.4.0 sphinx-exercise==1.2.1 sphinx-reredirects==1.1.0 + pip install \ + "jupyter-book>=1.0.4post1,<2.0" \ + quantecon-book-theme==0.21.0 \ + sphinx-tojupyter==0.6.0 \ + sphinxext-rediraffe==0.3.0 \ + sphinxcontrib-youtube==1.5.0 \ + sphinx-togglebutton==0.4.5 \ + arviz \ + sphinx-proof==0.4.0 \ + sphinx-exercise==1.2.1 \ + sphinx-reredirects==1.1.0 apt-get update apt-get install dvipng texlive texlive-latex-extra texlive-fonts-recommended cm-super - name: Check nvidia drivers