From 17192f690b4a2201feb3e5f117e46e9923934466 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 19 Nov 2026 08:42:10 +1100 Subject: [PATCH] Raise the build stack to the shared baseline and drop --upgrade from install lines environment.yml and the Colab workflow take quantecon-book-theme 0.22.2, sphinx-exercise 1.2.2 and sphinx-proof 0.4.1 (and sphinxcontrib-youtube 1.5.0 in the Colab workflow), the newest releases, which the QuantEcon lecture monorepo's one environment pins (QuantEcon/lectures#70). Five install lines drop --upgrade: in a build every lecture shares one environment, so an --upgrade line replaces the pinned version for every lecture executed after it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WT8bMacV9Lmy1VLUc6XJoL --- .github/workflows/collab.yml | 2 +- environment.yml | 6 +++--- lectures/bivariate_dist.md | 2 +- lectures/fitting_distributions.md | 2 +- lectures/heavy_tails.md | 2 +- lectures/mle_intro.md | 2 +- lectures/observed_distributions.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/collab.yml b/.github/workflows/collab.yml index 4b4a0eca..aa718844 100644 --- a/.github/workflows/collab.yml +++ b/.github/workflows/collab.yml @@ -30,7 +30,7 @@ jobs: - name: Install Build Software shell: bash -l {0} run: | - pip install jupyter-book==1.0.4post1 quantecon-book-theme==0.20.2 sphinx-tojupyter==0.6.0 sphinxext-rediraffe==0.3.0 sphinx-exercise==1.2.1 sphinxcontrib-youtube==1.4.1 sphinx-togglebutton==0.4.5 sphinx_proof==0.4.0 sphinx_reredirects==1.1.0 + pip install jupyter-book==1.0.4post1 quantecon-book-theme==0.22.2 sphinx-tojupyter==0.6.0 sphinxext-rediraffe==0.3.0 sphinx-exercise==1.2.2 sphinxcontrib-youtube==1.5.0 sphinx-togglebutton==0.4.5 sphinx_proof==0.4.1 sphinx_reredirects==1.1.0 # Build of HTML (Execution Testing) - name: Build HTML shell: bash -l {0} diff --git a/environment.yml b/environment.yml index a0df16d7..98279668 100644 --- a/environment.yml +++ b/environment.yml @@ -7,11 +7,11 @@ dependencies: - pip - pip: - jupyter-book==1.0.4post1 - - quantecon-book-theme==0.22.0 + - quantecon-book-theme==0.22.2 - sphinx-tojupyter==0.6.0 - sphinxext-rediraffe==0.3.0 - - sphinx-exercise==1.2.1 - - sphinx-proof==0.4.0 + - sphinx-exercise==1.2.2 + - sphinx-proof==0.4.1 - sphinxcontrib-youtube==1.5.0 - sphinx-togglebutton==0.4.5 - sphinx-reredirects==1.1.0 diff --git a/lectures/bivariate_dist.md b/lectures/bivariate_dist.md index 11631702..ec951d5a 100644 --- a/lectures/bivariate_dist.md +++ b/lectures/bivariate_dist.md @@ -798,7 +798,7 @@ Using `yfinance`, download monthly closing prices for `'AMZN'` and `'COST'` betw ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade yfinance +!pip install yfinance ``` ```{code-cell} ipython3 diff --git a/lectures/fitting_distributions.md b/lectures/fitting_distributions.md index 676fd0e6..0bf51230 100644 --- a/lectures/fitting_distributions.md +++ b/lectures/fitting_distributions.md @@ -53,7 +53,7 @@ before we can judge it. ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade yfinance +!pip install yfinance ``` ```{code-cell} ipython3 diff --git a/lectures/heavy_tails.md b/lectures/heavy_tails.md index f6bb8143..03bbf39f 100644 --- a/lectures/heavy_tails.md +++ b/lectures/heavy_tails.md @@ -19,7 +19,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade yfinance wbgapi +!pip install yfinance wbgapi ``` We use the following imports. diff --git a/lectures/mle_intro.md b/lectures/mle_intro.md index da1713d7..b61e5e94 100644 --- a/lectures/mle_intro.md +++ b/lectures/mle_intro.md @@ -49,7 +49,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade yfinance +!pip install yfinance ``` We will use the following imports. diff --git a/lectures/observed_distributions.md b/lectures/observed_distributions.md index 05c943e0..b084a4d8 100644 --- a/lectures/observed_distributions.md +++ b/lectures/observed_distributions.md @@ -34,7 +34,7 @@ which probability distribution best describes a given data set. ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade yfinance +!pip install yfinance ``` ```{code-cell} ipython3