Skip to content

Commit 7e5522a

Browse files
LenaMartenscopybara-github
authored andcommitted
Pin pip because of pypa/pip#9835.
PiperOrigin-RevId: 371166775 Change-Id: I111e81557f0129841e6bdd7c63b0e2b03be595fc
1 parent 7964d01 commit 7e5522a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ source "${VENV_DIR}/bin/activate"
3232
python --version
3333

3434
# Install JAX.
35-
python -m pip install --upgrade pip setuptools
35+
# pip is fixed to 21.0.1 due to issue https://github.com/pypa/pip/pull/9835
36+
# TODO(lenamartens): unpin when next pip patch is released
37+
python -m pip install -U pip==21.0.1
38+
pip --version
39+
python -m pip install --upgrade setuptools
3640
python -m pip install -r requirements-jax.txt
3741
python -c 'import jax; print(jax.__version__)'
3842

0 commit comments

Comments
 (0)