File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,11 +107,14 @@ Pylint:
107107
108108Mypy :
109109 script : |
110- EXTRA_INSTALL="jax[cpu]"
110+ # NOTE: jax>=0.4.31 requires python 3.10 and uses pattern matching
111+ # which conflicts with our mypy.python_version = '3.8' setting
112+ EXTRA_INSTALL="mypy pytest jax[cpu]<0.4.31"
113+
111114 curl -L -O https://tiker.net/ci-support-v0
112115 . ./ci-support-v0
116+
113117 build_py_project_in_venv
114- python -m pip install mypy pytest
115118 ./run-mypy.sh
116119 tags :
117120 - python3
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ known-local-folder = [
119119lines-after-imports = 2
120120
121121[tool .mypy ]
122+ # TODO: unpin jax version on CI when this gets bumped to 3.10
122123python_version = " 3.8"
123124warn_unused_ignores = true
124125# TODO: enable this
You can’t perform that action at this time.
0 commit comments