From ab6d2f7ae639d212b5850dbfe336ce28031cd332 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Wed, 11 Nov 2026 17:45:11 +1100 Subject: [PATCH] deps: sphinx-exercise 1.2.2 in both images sphinx-exercise 1.2.2 writes a captioned figure inside an exercise or solution box as \begin{figure}[H], so pdflatex no longer stops with "LaTeX Error: Not in outer par mode". lecture-python.myst moved to 1.2.2 when it restored figure captions in its solutions, and the full image's exact 1.2.1 pin failed that repository's PDF build in lecture matrix run 42942041680. The lean image's floor moves with it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01WT8bMbZoC2dpGt3sPyBjyd --- containers/quantecon-build/environment.yml | 2 +- containers/quantecon/environment.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/quantecon-build/environment.yml b/containers/quantecon-build/environment.yml index 4ca45de..923a1be 100644 --- a/containers/quantecon-build/environment.yml +++ b/containers/quantecon-build/environment.yml @@ -70,7 +70,7 @@ dependencies: - 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 - sphinx-proof>=0.4.0 - sphinxcontrib-youtube>=1.5.0 - sphinx-togglebutton>=0.4.5 diff --git a/containers/quantecon/environment.yml b/containers/quantecon/environment.yml index fc26fb4..9e09d89 100644 --- a/containers/quantecon/environment.yml +++ b/containers/quantecon/environment.yml @@ -16,7 +16,7 @@ dependencies: - 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 - sphinx-proof==0.4.0 - sphinxcontrib-youtube==1.5.0 - sphinx-togglebutton==0.4.5