Skip to content
Snippets Groups Projects
Commit 12005444 authored by tqtg's avatar tqtg
Browse files

numpy<1.20 for CI builds to avoid incompatibility

parent 3eb67fff
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ install: ...@@ -25,7 +25,7 @@ install:
- set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH% - set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
- conda config --set always_yes yes --set changeps1 no - conda config --set always_yes yes --set changeps1 no
- conda info -a - conda info -a
- conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy Cython - conda create -q -n test-environment python=%PYTHON_VERSION% numpy<1.20 scipy Cython
- activate test-environment - activate test-environment
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
- pip install wheel twine pytest - pip install wheel twine pytest
......
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
no_output_timeout: 30m no_output_timeout: 30m
command: | command: |
sudo pip install --upgrade pip sudo pip install --upgrade pip
sudo pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov sudo pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython pytest pytest-cov codecov
sudo pip install -e .[tests] sudo pip install -e .[tests]
- save_cache: - save_cache:
key: deps9-{{ .Branch }} key: deps9-{{ .Branch }}
......
...@@ -29,7 +29,7 @@ jobs: ...@@ -29,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy Cython pytest pytest-cov codecov flake8 python -m pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython pytest pytest-cov codecov flake8
python -m pip install -e .[tests] python -m pip install -e .[tests]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8 - name: Lint with flake8
......
...@@ -80,7 +80,7 @@ jobs: ...@@ -80,7 +80,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --only-binary=numpy,scipy numpy scipy Cython wheel python -m pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython wheel
- name: Build source tar file - name: Build source tar file
run: python setup.py sdist run: python setup.py sdist
......
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