summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2019-09-09 09:52:02 -0700
committerGitHub <noreply@github.com>2019-09-09 09:52:02 -0700
commitddffa68eeea2d84734f15f2c10696c2c81cc8e2a (patch)
treecc7688938e94e10832f92beb606a259ece6be10c
parent42ac121a0b547bc7c218c7ea318caf6c0a420034 (diff)
parent037a613fbf6b81397b7506625ad8f0b4e55ec2f4 (diff)
downloadnumpy-ddffa68eeea2d84734f15f2c10696c2c81cc8e2a.tar.gz
Merge pull request #14460 from mattip/fix-dependencies
MAINT: use test_requirements.txt in tox and shippable, ship it too
-rw-r--r--MANIFEST.in6
-rw-r--r--shippable.yml4
-rw-r--r--tox.ini3
3 files changed, 6 insertions, 7 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
index dad55176d..7ab57eb8c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -10,6 +10,10 @@ include pytest.ini
include *.txt
include README.md
include site.cfg.example
+include runtests.py
+include tox.ini
+include .coveragerc
+include test_requirements.txt
recursive-include numpy/random *.pyx *.pxd *.pyx.in *.pxd.in
include numpy/__init__.pxd
# Add build support that should go in sdist, but not go in bdist/be installed
@@ -18,8 +22,6 @@ include numpy/__init__.pxd
recursive-include numpy *
recursive-include numpy/_build_utils *
recursive-include numpy/linalg/lapack_lite *
-include runtests.py
-include tox.ini pytest.ini .coveragerc
recursive-include tools *
# Add sdist files whose use depends on local configuration.
include numpy/core/src/common/cblasfuncs.c
diff --git a/shippable.yml b/shippable.yml
index 7d134a20e..2abd8a843 100644
--- a/shippable.yml
+++ b/shippable.yml
@@ -31,9 +31,7 @@ build:
# we will pay the ~13 minute cost of compiling Cython only when a new
# version is scraped in by pip; otherwise, use the cached
# wheel shippable places on Amazon S3 after we build it once
- - pip install cython --cache-dir=/root/.cache/pip/wheels/$SHIPPABLE_PYTHON_VERSION
- # install pytz for datetime testing
- - pip install pytz
+ - pip install -r test_requirements.txt --cache-dir=/root/.cache/pip/wheels/$SHIPPABLE_PYTHON_VERSION
# install pytest-xdist to leverage a second core
# for unit tests
- pip install pytest-xdist
diff --git a/tox.ini b/tox.ini
index 3223b9e1b..a38a03c97 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,8 +30,7 @@ envlist =
py37-not-relaxed-strides
[testenv]
-deps=
- pytest
+deps= -Ur{toxinidir}/test_requirements.txt
changedir={envdir}
commands={envpython} {toxinidir}/runtests.py --mode=full {posargs:}