Skip to content

Commit

Permalink
travis: Explicitly install numpy ahead of other dependencies
Browse files Browse the repository at this point in the history
This works around a problem in handling dependencies when building
Python modules.
pypa/pip#9239
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
  • Loading branch information
jvesely committed Dec 16, 2020
1 parent 88a2801 commit acf0c15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ before_install:
export RUN_COV=""
# matplotlib depends on cython
export EXTRA_PIP="cython"
# explicitly install numpy (https://github.com/pypa/pip/issues/9239)
export EXTRA_PIP="cython $(grep numpy requirements.txt)"
fi
# distutils is only needed for python3.8
# https://bugs.launchpad.net/ubuntu/+source/python3.8/+bug/1851684
Expand Down

0 comments on commit acf0c15

Please sign in to comment.