diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 71c4906..f2b2e25 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -22,12 +22,13 @@ jobs: - name: Install JAX (CPU) shell: bash -l {0} run: | - # Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's - # lax.fori_loop cells on the CPU path -- context is recorded in - # QuantEcon/workspace-lectures#49. With jax already present, the - # lecture's unpinned `!pip install quantecon jax` cell is satisfied - # and does not upgrade. - pip install "jax==0.11.0" + # Pinned to the lecture baseline, QuantEcon/lectures' + # _base/environment-update.yml, as in the English edition. jax 0.11.1 + # hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path + # (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's + # own install cell names the same version, so it is satisfied and + # reinstalls nothing. + pip install "jax==0.12.1" - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdb1a15..4814f0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,13 @@ jobs: - name: Install JAX (CPU) shell: bash -l {0} run: | - # Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's - # lax.fori_loop cells on the CPU path -- context is recorded in - # QuantEcon/workspace-lectures#49. With jax already present, the - # lecture's unpinned `!pip install quantecon jax` cell is satisfied - # and does not upgrade. - pip install "jax==0.11.0" + # Pinned to the lecture baseline, QuantEcon/lectures' + # _base/environment-update.yml, as in the English edition. jax 0.11.1 + # hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path + # (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's + # own install cell names the same version, so it is satisfied and + # reinstalls nothing. + pip install "jax==0.12.1" - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 96d9104..41875d8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -36,12 +36,13 @@ jobs: - name: Install JAX (CPU) shell: bash -l {0} run: | - # Pinned: jax 0.11.1 (2026-08-17) hangs numpy_vs_numba_vs_jax's - # lax.fori_loop cells on the CPU path -- context is recorded in - # QuantEcon/workspace-lectures#49. With jax already present, the - # lecture's unpinned `!pip install quantecon jax` cell is satisfied - # and does not upgrade. - pip install "jax==0.11.0" + # Pinned to the lecture baseline, QuantEcon/lectures' + # _base/environment-update.yml, as in the English edition. jax 0.11.1 + # hung numpy_vs_numba_vs_jax's lax.fori_loop cells on the CPU path + # (QuantEcon/workspace-lectures#49); 0.12.1 runs them. The lecture's + # own install cell names the same version, so it is satisfied and + # reinstalls nothing. + pip install "jax==0.12.1" - name: Display Conda Environment Versions shell: bash -l {0} run: conda list