dask / dask/dask

Use Rich more broadly?

Open
#8,262 1 comment 0 reactions 0 assignees View on GitHub
discussion needs attention
Dominant language
Python
Stars
13.9k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

Rich is neat. Do we want to leverage it more broadly?

![image](https://user-images.githubusercontent.com/306380/137348119-7ef5d8d5-a738-4ed9-ab83-117ba28db962.png)

Dask gets lots of love around our error messages. Good error messages reduce user pain. Rich might help us to improve our current error messages and user feedback. I suspect that once we start using it people might also really enjoy building more with it (it appears to be fun).

However, it would be a new dependency. Do we want to take it on for some of the subprojects like dask.dataframe or dask.distributed?

For context, I created a new conda environment with python installed, and then installed rich and got the following new dependencies

```
Package Version Build Channel Size
───────────────────────────────────────────────────────────────────────────────────
Install:
───────────────────────────────────────────────────────────────────────────────────

+ colorama 0.4.4 pyh9f0ad1d_0 conda-forge/noarch Cached
+ commonmark 0.9.1 py_0 conda-forge/noarch Cached
+ future 0.18.2 py39h2804cbe_3 conda-forge/osx-arm64 Cached
+ pygments 2.10.0 pyhd8ed1ab_0 conda-forge/noarch Cached
+ rich 10.12.0 py39h2804cbe_0 conda-forge/osx-arm64 347 KB
+ typing_extensions 3.10.0.2 pyha770c72_0 conda-forge/noarch 28 KB
```

So, two questions for the group:

1. Where would we use this?
2. How do we feel about the added dependency?

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.