-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Open
Description
No longer shipping the tests with the numpy wheels uploaded to PyPI was discussed in gh-25737. This is now possible after gh-26274. Here are some questions about how we want to go about this. My assumption is that we want to do this in a fairly non-disruptive way, meaning no moving of all tests files (that would yield a ton of merge conflicts on all open PRs).
I think these will be the next steps in a follow-up PR to gh-26274:
- Drop the
testslabel from the default set of install tags inpyproject.tomlor modify our cibuildwheel config to do that (this needs deciding) - Start producing an installable test suite (
numpy-testswheels).- Decision 2: do we want that to land in-tree inside a
numpyinstall, or out-of-tree (e.g. in a separatenumpy-testsdirectory)? The latter seems cleaner, but may require some more tweaks to test structure (e.g.,import numpy._core._multiarray_testsneeds modifying).
- Decision 2: do we want that to land in-tree inside a
- Tweak our CI for wheel building to make everything work again.
- Ensure that
python -c "import numpy; numpy.test()"gives a clear error message when the tests are not installed - Add docs for distro packagers and others who want to run the tests.
Thoughts?
Reactions are currently unavailable