Repository navigation
Add test deps for pip development - #7360
Conversation
Sounds reasonable to me. Many of the Dask subprojects have a Is the idea to replace that with |
jrbourbeau
left a comment
There was a problem hiding this comment.
Thanks for improving things here @jsignell. I have a slight preference for either the requirements-test.txt or [test] extras option as those are less likely to go out of date than documentation.
Since we already handle all our optional deps through setup.py extras instead of a requirements.txt file, adding a new [test] extra seems like the smoothest option. I think multiple extras can also be specified so something like
python -m pip install -e ".[complete,test]"should work
|
Both of @jrbourbeau's sugegstions would be possible. In many Dask projects we read the requirements from a We could add a |
|
Ok I think I'll do the smallest change and just inline the test reqs in setup.py. |
If you install with pip following https://docs.dask.org/en/latest/develop.html you'll be missing the testing dependencies. I'm wondering if this is best handled by adding more docs, or by having a
pip install -e ".[test]"ref #7358 (comment)
This is the docs version, but I am wondering if people would be opposed to adding another pip extra option called
[test]that would not be included in[complete]@dask/maintenance