Skip to content

Commit

Permalink
ci: pin jax<0.4.31 for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Aug 5, 2024
1 parent 739f074 commit a2683ea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: "Main Script"
run: |
curl -L -O https://tiker.net/ci-support-v0
. ./ci-support-v0
# NOTE: jax>=0.4.31 requires python 3.10 and uses pattern matching
# which conflicts with our mypy.python_version = '3.8' setting
CONDA_ENVIRONMENT=.test-conda-env-py3.yml
sed -i "s/jax/jax<0.4.31/" "$CONDA_ENVIRONMENT"
build_py_project_in_conda_env
python -m pip install mypy pytest
./run-mypy.sh
Expand Down

0 comments on commit a2683ea

Please sign in to comment.