dask / dask/distributed

Rename `pip_options` / `conda_options` to `options`

Open
#7,796 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

While using our `PipInstall` plugin, I noticed that there's a `pip_options` keyword for passing flags to the `pip` CLI.

```python
plugin = PipInstall(["pytorch", "optuna"], pip_options=["--force-reinstall"])
```

Similarly there's a `conda_options` kwarg for `CondaInstall`. Prefixing the name of those kwargs with `pip_` / `conda_` feels a bit redundant with the plugin class name. Renaming `pip_options` / `conda_options` to just `options` would be a bit more ergonomic, while still keeping the intent clear (I think).

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.