Skip to content

Commit 3538b2b

Browse files
committed
fix: GHA tests (install numpy, pandas, scipy, Cython for setup.py)
1 parent 6f73137 commit 3538b2b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
python-version: [3.7, 3.8, 3.9]
20-
pip: ["pip~=20.0", "pip~=21.0"]
20+
pip: ["pip==21.2", "pip~=22.0"]
2121

2222
steps:
2323
- uses: actions/checkout@v2
@@ -142,6 +142,7 @@ jobs:
142142
source /tmp/setup_install/bin/activate
143143
python -m pip install -U "setuptools >= 45" wheel "setuptools_scm >= 6.2" \
144144
setuptools_scm_git_archive "${{ matrix.pip }}"
145+
python -m pip install "numpy==1.20" Cython "pandas==1.3" "scipy==1.7"
145146
python setup.py install
146147
INSTALLED_VERSION=$(python -c 'import templateflow as tf; print(tf.__version__, end="")')
147148
echo "INSTALLED: \"${INSTALLED_VERSION}\""
@@ -174,6 +175,7 @@ jobs:
174175
source /tmp/setup_develop/bin/activate
175176
python -m pip install -U "setuptools >= 45" wheel "setuptools_scm >= 6.2" \
176177
setuptools_scm_git_archive "${{ matrix.pip }}"
178+
python -m pip install "numpy==1.20" Cython "pandas==1.3" "scipy==1.7"
177179
python setup.py develop
178180
INSTALLED_VERSION=$(python -c 'import templateflow as tf; print(tf.__version__, end="")')
179181
echo "INSTALLED: \"${INSTALLED_VERSION}\""

0 commit comments

Comments
 (0)