Repository navigation
chore: Remove unused Python dependencies - #17076
Conversation
|
Sorry |
0e0f368 to
705f31b
Compare
Drop chardet, contextlib2, docutils, and rich-text-renderer from prod.in, and Pygments from dev.in. None of these are imported or referenced anywhere in the codebase. rich-text-renderer and django-crum were originally added for the Contentful integration (2021) and are no longer needed since the move to Wagtail.
705f31b to
f19a46c
Compare
Thanks, yeah - forgot about that. Have restored |
|
Self review: r+ |
janbrasna
left a comment
There was a problem hiding this comment.
R+
given test results and trust on coverage.
| freezegun==1.5.5 | ||
| markdown-it-py>=2.2.0 | ||
| py==1.11.0 | ||
| Pygments>=2.15.0 # to bring it up to a secure version |
There was a problem hiding this comment.
Yup did the same on springfield some time ago.
There was a problem hiding this comment.
There's some stuff we can still prune from Springfield - like chardet and django-crum
There was a problem hiding this comment.
(Oh, meant mostly the downpins actually related to the selenium part of the stack… left note on that actual bump also in the relevant PR about that too.)
As for deps that might have been ported to fxc without any use, like contentful tooling… ~ I'll defer to your knowledge what apps got omitted from the port, so there's a potential for a few deps ending up eventually unused. (There's also a load of new deps for the flare/wagtail tooling that I'm not familiar with to the extent that I won't try to tell which ones are used or not TBH.)
Drop chardet, contextlib2, docutils, and rich-text-renderer from prod.in,
and pyand Pygments from dev.in. None of these are imported or referenced anywhere in the codebase. rich-text-renderer and django-crum were originally added for the Contentful integration (2021) and are no longer needed since the move to Wagtail.