rich
rich copied to clipboard
Fix dependabot alert
https://github.com/Textualize/rich/security/dependabot/2
Don't know how to make the above link public, here's a screenshot.
Pretty sure it just requires a bump of ipywidgets
. We should bump it just enough to get rid of the issue, and check the Jupyter stuff still works.

It seems that the fact that Rich supports Python 3.6 prevents us from being able to upgrade the package:
The current project's Python requirement (>=3.6.3,<4.0.0) is not compatible with some of the required packages Python requirement:
- notebook requires Python >=3.7, so it will not be satisfied for Python >=3.6.3,<3.7
Because notebook (6.4.12) requires Python >=3.7
The security fix looks to not have been backported to older versions of the notebook
package, unfortunately :pensive:
- https://github.com/jupyter/notebook/security/advisories/GHSA-v7vq-3x77-87vg
As Python 3.6 stopped receiving security fixes more than 6 months ago, maybe we could stop supporting it in an upcoming version of Rich? :thinking: (which as a side-effect would also bring the joys of v3.7 into the Rich codebase of course, like modern typing annotations :star_struck: )