Skip to content

Commit

Permalink
standardise circleci numpy scipy versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
darrylong committed Jun 27, 2024
1 parent dbad48b commit cb137d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
build-and-test:
docker:
- image: cimg/python:3.10.2
environment:
LIMIT_NUMPY_VERSION: 2.0.0
LIMIT_SCIPY_VERSION: 1.13.1
steps:
- checkout
- python/install-packages:
Expand All @@ -17,9 +20,8 @@ jobs:
no_output_timeout: 30m
command: |
pip install --upgrade pip
pip install --only-binary=numpy,scipy numpy==1.22.4 scipy==1.10.1 Cython pytest pytest-cov codecov
pip install --only-binary=numpy,scipy "numpy<$LIMIT_NUMPY_VERSION" "scipy<=$LIMIT_SCIPY_VERSION" Cython pytest pytest-cov codecov
pip install -e .[tests]
pip install numpy==1.22.4 scipy==1.10.1
- run:
name: Run tests
no_output_timeout: 30m
Expand Down

0 comments on commit cb137d8

Please sign in to comment.