From 035f5a894a6da379455611d8fc175449575bff5b Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Thu, 19 Nov 2026 09:13:18 +1100 Subject: [PATCH] Raise the build stack to the shared baseline and drop --upgrade from install lines environment.yml takes quantecon-book-theme 0.22.2 and sphinx-exercise 1.2.2, the newest releases, which the QuantEcon lecture monorepo's one environment pins (QuantEcon/lectures#70). Five install lines in pandas, pandas_panel, polars and scipy 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 --- environment.yml | 4 ++-- lectures/pandas.md | 4 ++-- lectures/pandas_panel.md | 2 +- lectures/polars.md | 2 +- lectures/scipy.md | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/environment.yml b/environment.yml index af3be865..2fa9c933 100644 --- a/environment.yml +++ b/environment.yml @@ -7,10 +7,10 @@ dependencies: - pip - pip: - jupyter-book>=1.0.4post1,<2.0 - - 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-exercise==1.2.2 - sphinxcontrib-youtube==1.5.0 - sphinx-togglebutton==0.4.5 diff --git a/lectures/pandas.md b/lectures/pandas.md index 858db6a4..06e2ac14 100644 --- a/lectures/pandas.md +++ b/lectures/pandas.md @@ -30,8 +30,8 @@ In addition to what’s in Anaconda, this lecture will need the following librar ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade wbgapi -!pip install --upgrade yfinance +!pip install wbgapi +!pip install yfinance ``` ## Overview diff --git a/lectures/pandas_panel.md b/lectures/pandas_panel.md index 37eb7f82..e17d6c62 100644 --- a/lectures/pandas_panel.md +++ b/lectures/pandas_panel.md @@ -30,7 +30,7 @@ In addition to what’s in Anaconda, this lecture will need the following librar ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade seaborn +!pip install seaborn ``` We use the following imports. diff --git a/lectures/polars.md b/lectures/polars.md index 741528f0..d1f6dbef 100644 --- a/lectures/polars.md +++ b/lectures/polars.md @@ -30,7 +30,7 @@ In addition to what's in Anaconda, this lecture will need the following librarie ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade polars yfinance +!pip install polars yfinance ``` ## Overview diff --git a/lectures/scipy.md b/lectures/scipy.md index fec66033..a2435d13 100644 --- a/lectures/scipy.md +++ b/lectures/scipy.md @@ -28,7 +28,7 @@ In addition to what’s in Anaconda, this lecture will need the following librar ```{code-cell} ipython3 :tags: [hide-output] -!pip install --upgrade quantecon +!pip install quantecon ``` We use the following imports.