7676 - name : Install standalone dependencies only
7777 run : |
7878 uv sync
79+ # temporary: install jax nightly
80+ uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
7981 - name : Test importing Flax
8082 run : |
8183 uv run python -c "import flax"
@@ -109,6 +111,7 @@ jobs:
109111
110112 - name : Install dependencies
111113 run : |
114+ rm -fr .venv
112115 uv sync --extra testing --extra docs
113116 - name : Install JAX
114117 run : |
@@ -122,13 +125,21 @@ jobs:
122125 if [[ "${{ matrix.test-type }}" == "doctest" ]]; then
123126 # TODO(cgarciae): Remove this once dm-haiku 0.0.14 is released
124127 uv pip install -U git+https://github.com/google-deepmind/dm-haiku.git
128+ # temporary: install jax nightly
129+ uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
125130 uv run tests/run_all_tests.sh --only-doctest
126131 elif [[ "${{ matrix.test-type }}" == "pytest" ]]; then
127132 uv pip install -U tensorflow-datasets
133+ # temporary: install jax nightly
134+ uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
128135 uv run tests/run_all_tests.sh --only-pytest
129136 elif [[ "${{ matrix.test-type }}" == "pytype" ]]; then
137+ # temporary: install jax nightly
138+ uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
130139 uv run tests/run_all_tests.sh --only-pytype
131140 elif [[ "${{ matrix.test-type }}" == "mypy" ]]; then
141+ # temporary: install jax nightly
142+ uv pip install -U --pre jax jaxlib -i https://us-python.pkg.dev/ml-oss-artifacts-published/jax/simple/
132143 uv run tests/run_all_tests.sh --only-mypy
133144 else
134145 echo "Unknown test type: ${{ matrix.test-type }}"
0 commit comments