Skip to content

Commit

Permalink
add numpy<2 requirement for tf<2.12 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
irenaby committed Sep 9, 2024
1 parent 50196db commit e3510cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ jobs:
python-version: ${{matrix.py_ver}}
- name: Install dependencies
run: |
pip install tensorflow==${{matrix.tf_ver}}.*
if [ ${{matrix.tf_ver}} == 2.10 ] || [ ${{matrix.tf_ver}} == 2.11 ];then
extra_req='numpy<2'
fi
pip install tensorflow==${{matrix.tf_ver}}.* $extra_req
pip install -r requirements_test.txt
pip list
- name: Run pytest
Expand Down

0 comments on commit e3510cf

Please sign in to comment.