diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index a864511..cd93d62 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -17,6 +17,15 @@ jobs: python-version: "3.13" environment-file: environment.yml activate-environment: quantecon + - name: Install JAX (CPU, pinned) + 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" - name: Build HTML shell: bash -l {0} run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee8e2c9..fdbd367 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,15 @@ jobs: python-version: "3.13" environment-file: environment.yml activate-environment: quantecon + - name: Install JAX (CPU, pinned) + 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" - name: Install latex dependencies run: | sudo apt-get -qq update diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cbc40c4..0c7667a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,6 +21,15 @@ jobs: python-version: "3.13" environment-file: environment.yml activate-environment: quantecon + - name: Install JAX (CPU, pinned) + 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" - name: Install latex dependencies run: | sudo apt-get -qq update