Skip to content

Commit 2e60d88

Browse files
committed
Use older version of JAX to work with Ubuntu numpy
1 parent 24dc222 commit 2e60d88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
linkflags: "--coverage"
2525
cgaldir: "/usr/lib/x86_64-linux-gnu/cmake/CGAL/"
2626
skiptests: "expensive|medium|IMP\\.modeller\\-"
27+
# Newer versions of jax need numpy 2 (Ubuntu 24.04 has numpy 1)
28+
pip_extra_packages: jax==0.7.1
2729
show_build: Debug
2830
cmake_build: Debug
2931
max_checks: INTERNAL
@@ -60,7 +62,7 @@ jobs:
6062
libprotobuf-dev protobuf-compiler \
6163
libopenmpi-dev python3-dev python3-numpy python3-protobuf \
6264
python3-nose python3-pip python3-biopython
63-
pip3 install codecov
65+
pip3 install codecov ${{ matrix.pip_extra_packages }}
6466
- name: Set up Python ${{ matrix.python-version }}
6567
if: matrix.os == 'macos-latest'
6668
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)