Skip to content

Commit 32f4bc9

Browse files
committed
FIX: Avoid new series of pandas when installing from setup.py
1 parent 10be75d commit 32f4bc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
python -m pip install -U "setuptools ~= 42.0" wheel "setuptools_scm[toml] >= 3.4" \
144144
setuptools_scm_git_archive "${{ matrix.pip }}"
145145
if [ "${{ matrix.python-version }}" == "3.6" ]; then
146-
pip install "numpy < 1.20"
146+
pip install "numpy < 1.20" "pandas < 1.2.0"
147147
fi
148148
python setup.py install
149149
INSTALLED_VERSION=$(python -c 'import templateflow as tf; print(tf.__version__, end="")')
@@ -178,7 +178,7 @@ jobs:
178178
python -m pip install -U "setuptools ~= 42.0" wheel "setuptools_scm[toml] >= 3.4" \
179179
setuptools_scm_git_archive "${{ matrix.pip }}"
180180
if [ "${{ matrix.python-version }}" == "3.6" ]; then
181-
pip install "numpy < 1.20"
181+
pip install "numpy < 1.20" "pandas < 1.2.0"
182182
fi
183183
python setup.py develop
184184
INSTALLED_VERSION=$(python -c 'import templateflow as tf; print(tf.__version__, end="")')

0 commit comments

Comments
 (0)