Skip to content

Commit 7cd7efd

Browse files
mmckyclaude
andcommitted
Pin jax at 0.12.1 in the workflows, the shared baseline's new version
The English edition moved its workflows and the numpy_vs_numba_vs_jax install cell from jax 0.11.0 to 0.12.1 in QuantEcon/lecture-python-programming#665. The cell reaches this edition by its translation-sync PR; this commit moves the three workflow pins to match, so a build installs 0.12.1 once and the cell reinstalls nothing. Context: QuantEcon/workspace-lectures#49. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WT8bMbNM8AQVCt2pfV5GGX
1 parent af254a9 commit 7cd7efd

3 files changed

Lines changed: 21 additions & 18 deletions

File tree

‎.github/workflows/cache.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@ jobs:
2020
- name: Install JAX (CPU, pinned)
2121
shell: bash -l {0}
2222
run: |
23-
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
24-
# lax.fori_loop cells on the CPU path -- context is recorded in
25-
# QuantEcon/workspace-lectures#49. With jax already present, the
26-
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
27-
# and does not upgrade.
28-
pip install "jax==0.11.0"
23+
# Pinned to the lecture baseline, QuantEcon/lectures'
24+
# _base/environment-update.yml, as in the English edition. jax 0.11.1
25+
# hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path
26+
# (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's
27+
# own install cell names the same version, so it is satisfied and
28+
# reinstalls nothing.
29+
pip install "jax==0.12.1"
2930
- name: Build HTML
3031
shell: bash -l {0}
3132
run: |

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ jobs:
1919
- name: Install JAX (CPU, pinned)
2020
shell: bash -l {0}
2121
run: |
22-
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
23-
# lax.fori_loop cells on the CPU path -- context is recorded in
24-
# QuantEcon/workspace-lectures#49. With jax already present, the
25-
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
26-
# and does not upgrade.
27-
pip install "jax==0.11.0"
22+
# Pinned to the lecture baseline, QuantEcon/lectures'
23+
# _base/environment-update.yml, as in the English edition. jax 0.11.1
24+
# hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path
25+
# (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's
26+
# own install cell names the same version, so it is satisfied and
27+
# reinstalls nothing.
28+
pip install "jax==0.12.1"
2829
- name: Install latex dependencies
2930
run: |
3031
sudo apt-get -qq update

‎.github/workflows/publish.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
- name: Install JAX (CPU, pinned)
2525
shell: bash -l {0}
2626
run: |
27-
# Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's
28-
# lax.fori_loop cells on the CPU path -- context is recorded in
29-
# QuantEcon/workspace-lectures#49. With jax already present, the
30-
# lecture's unpinned `!pip install quantecon jax` cell is satisfied
31-
# and does not upgrade.
32-
pip install "jax==0.11.0"
27+
# Pinned to the lecture baseline, QuantEcon/lectures'
28+
# _base/environment-update.yml, as in the English edition. jax 0.11.1
29+
# hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path
30+
# (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's
31+
# own install cell names the same version, so it is satisfied and
32+
# reinstalls nothing.
33+
pip install "jax==0.12.1"
3334
- name: Install latex dependencies
3435
run: |
3536
sudo apt-get -qq update

0 commit comments

Comments
 (0)