dask / dask/distributed

Command line tests depend on proper installation

Open
#951 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

Command line tests assume that the executables `dask-scheduler` and `dask-worker` are on the path. This can cause confusion if developers don't install before testing, or if version confusion stops the current version from taking precedence. I've found myself having to do the following to get consistent behavior:

```python
pip uninstall distributed # repeat as necessary
python setup.py install
```

What's the right thing to do here? Should we instead be testing with `python -m distributed.cli.dask_scheduler...`?

cc @pitrou @mariusvniekerk

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.