Closed wimglenn closed 3 months ago
Oh yes, that should be done. Thanks for reporting this! General questions (for watchers and the future me) -
nbconvert
and nbformat
is not installed?v1.6.0
or. v1.5.1
?v2.0.0
- I don't think so)My recommendation would be to isolate the code which requires nbconvert/nbformat into a separate submodule. That way when a user attempts to use those features without necessary deps in place you can handle the import error and print some message about installing with the [extra]. Or just let the ImportError
blow up, that might be self-explanatory enough for the target audience.
For 1.4 the dependency tree of removestar looked like
After https://github.com/asmeurer/removestar/pull/31 it looks like
Can the heavy nb dependencies be moved to an optional extra?
I think tools like this should be kept lightweight so we have the option to install them directly in env without creating conflicts. With this tree a pipx-style installation is warranted.