Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MAINT: use test_requirements.txt in tox and shippable, ship it too #14460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 6 MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pytest.ini is already included on line 9

recursive-include tools *
# Add sdist files whose use depends on local configuration.
include numpy/core/src/common/cblasfuncs.c
Expand Down
4 changes: 1 addition & 3 deletions 4 shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions 3 tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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:}

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.