8000 MAINT: Move Cython requirements to a separate file. · numpy/numpy@34b9ac6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 34b9ac6

Browse files
committed
MAINT: Move Cython requirements to a separate file.
1 parent 0453731 commit 34b9ac6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

cython_test_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cython>=0.29.30,<3.0

test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cython>=0.29.30,<3.0
1+
-r cython_test_requirements.txt
22
wheel==0.37.0
33
setuptools==59.2.0
44
hypothesis==6.24.1

tools/travis-before-install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ pip install --upgrade pip 'setuptools<49.2.0' wheel
4545
# where numpy is installed with setup.py, which is the case for the Travis jobs
4646
# where the environment variables USE_DEBUG or USE_WHEEL are set. When pip is
4747
# used to install numpy, pip gets the build dependencies from pyproject.toml.
48-
# A specific version of cython is required, so we read the cython package
49-
# requirement using `grep cython test_requirements.txt` instead of simply
50-
# writing 'pip install setuptools wheel cython'.
51-
pip install `grep cython test_requirements.txt`
48+
# A specific version of cython is required, so we use
49+
# cython_test_requirements.txt instead of simply writing
50+
# 'pip install setuptools wheel cython'.
51+
pip install -r cython_test_requirements.txt
5252

5353
if [ -n "$DOWNLOAD_OPENBLAS" ]; then
5454
pwd

0 commit comments

Comments
 (0)
0