Commit e0adf38
Remove
## Describe your changes
We have a Python dependency in Streamlit - `rich` - that is almost
exclusively used in Community Cloud to get nicer formatting for
exceptions in the log viewer. However, it is currently installed for all
Streamlit installs, which is suboptimal. The dependency is already
implemented in Streamlit in a way that it is optional (only used if
installed). We have recently changed that `rich` gets auto-installed on
Community Cloud, therefore, we can remove it from Streamlit's required
dependencies.
In a follow-up after the release, we also plan to deprecate and
eventually remove the `logger.enableRich` config option and always use
`rich` if installed.
## Testing Plan
- No logical changes. Rich is already an optional dependency in the code
logic.
---
**Contribution License Agreement**
By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.rich from required dependencies (streamlit#10320)1 parent 099f446 commit e0adf38
File tree
4 files changed
+7
-4
lines changed- lib
- streamlit
4 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
478 | | - | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
0 commit comments