Feature request: make heavier non-core dependencies optional-dependencies #107
jraygauthier
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This set of tool is particularly useful in CI.
However, in order to reduce image size (or nix closure size), removal of non core heavy dependencies such as
matplotlibandpython-docxwould be quite handy.Simply using optional dependencies group such as
plottinganddocxwould be just perfect.In the meantime, I have to patch the
pyproject.tomland*.pyfile to achieve that.From what I understand,
mathplotlibis only required by thehtmlsub-command whereasdocxbywordsub-command.A first implementation could be to simply remove the associated command when the optional group is not present.
A more granular solution might be nice to preserve
htmlbut without plot when!plotting.Beta Was this translation helpful? Give feedback.
All reactions