Skip to content
Snippets Groups Projects
Commit a2683ea0 authored by Alexandru Fikl's avatar Alexandru Fikl Committed by Andreas Klöckner
Browse files

ci: pin jax<0.4.31 for mypy

parent 739f0747
No related branches found
No related tags found
No related merge requests found
Pipeline #574827 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment