File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,16 @@ jobs:
4343 runs-on : ubuntu-latest
4444 steps :
4545 - uses : actions/checkout@v4
46- -
47- uses : actions/setup-python@v5
48- with :
49- python-version : ' 3.x'
5046 - name : " Main Script"
5147 run : |
5248 curl -L -O https://tiker.net/ci-support-v0
5349 . ./ci-support-v0
50+
51+ # NOTE: jax>=0.4.31 requires python 3.10 and uses pattern matching
52+ # which conflicts with our mypy.python_version = '3.8' setting
53+ CONDA_ENVIRONMENT=.test-conda-env-py3.yml
54+ sed -i "/jax/jax<0.4.31/" "$CONDA_ENVIRONMENT"
55+
5456 build_py_project_in_conda_env
5557 python -m pip install mypy pytest
5658 ./run-mypy.sh
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ dependencies:
1414- pyopencl
1515- islpy
1616- pip
17- - jax
17+ - jax<0.4.31
You can’t perform that action at this time.
0 commit comments