Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve problems and inconsistencies with nbextensions/serverextensions for 5.0 #2141

Closed
ellisonbg opened this issue Feb 7, 2017 · 19 comments

Comments

@ellisonbg
Copy link
Contributor

I think this should block 5.0. See background:

https://groups.google.com/forum/#!topic/jupyter/PnSIeGe8VhE

@ellisonbg ellisonbg added this to the 5.0 milestone Feb 7, 2017
@ellisonbg
Copy link
Contributor Author

Also #1508

@ellisonbg
Copy link
Contributor Author

Sounds like some of these things have been fixed in master, but I think the lab/nb teams should meet to go over this stuff before 5.0 is released.

@minrk
Copy link
Member

minrk commented Feb 7, 2017

Bringing together issues from the email:

Two (#1797, #1617) seem to be pretty minor issues that I don't think should block 5.0.

To me, the main thing we need a decision on is #1706, which is a major reorganization of the whole extension mechanism. My understanding has been that this makes more sense to do as part of the standalone jupyter-server, rather than rewrite the extensions for 5.0 and then rewrite them again for jupyter-server. But if we want this for 5.0, we should get on it ASAP, because I think it would delay 5.0 by at least a month or two so it can have time to test in master. We could also decide to do part of it (e.g. change defaults, but not behavior), which is easier, but I'm not sure if we should do that.

@takluyver
Copy link
Member

I'm hoping to get 5.0 out this week, so -1 to rewriting the extension system.

@blink1073
Copy link
Contributor

Thank you for laying that all out, @minrk. I agree with your assessment that there should be no remaining configuration blockers to 5.0.

@blink1073
Copy link
Contributor

blink1073 commented Feb 7, 2017

@takluyver can go back to having his tea in peace ;).

@ellisonbg
Copy link
Contributor Author

I agree that doing the full rewrite doesn't make sense for 5.0. We already know that we will break things in the transition to jupyter-server, so I think it makes sense to postpone all breakage until them.

@ellisonbg
Copy link
Contributor Author

Thanks for posting the full list of everything that has been done on this front that really helps. I think the work in #1508 is the most important thing.

The only other big issue I keep running into is the need to hard delete all existing extensions of a given type (nb, server, lab) (both the extension and the config). I think a jupyter nbextension delete-all would do the trick. Probably shouldn't block 5.0 though. I will open an issue for that.

@ellisonbg
Copy link
Contributor Author

@bollwyvl can you confirm issues on your side will be fixed by the stuff that is in master now?

@minrk
Copy link
Member

minrk commented Feb 7, 2017

If there are common / useful actions that are hard to do with current commands, I'm happy to add them. Is delete-all only for --py extension-providers? e.g. jupyter nbextension delete-all --py jupyterlab?

@ellisonbg
Copy link
Contributor Author

See #2149

I was thinking they would uninstall or disable all nbextensions or server extensions in a given location (user, sys prefix, system), not just those for a single package. So I am not sure the --py flag makes sense. Although I could imagine a user wanting to delete all (user, sys prefix, system) things for a given nbextension, so maybe --py package would limit the scope of it. Let's continue the discussion on #2149

@minrk
Copy link
Member

minrk commented Feb 7, 2017

Gotcha, thanks!

@bollwyvl
Copy link
Contributor

bollwyvl commented Feb 7, 2017

@ellisonbg can you confirm issues on your side will be fixed by the stuff that is in master now?

If my side is #1508... don't know! I'll give it a spin right now!

If we're talking my side being the anaconda distribution... I don't think the distribution maintainers will be happy until we have #1706 or equivalent.

@ellisonbg
Copy link
Contributor Author

ellisonbg commented Feb 7, 2017 via email

@bollwyvl
Copy link
Contributor

bollwyvl commented Feb 7, 2017

Yup, it looks like #1508 is happy. Thanks all!

@bollwyvl
Copy link
Contributor

bollwyvl commented Feb 7, 2017

Oh, and re disable-all --user... from a conda point of view, that's sounds like it will result in support tickets, but perhaps no more than the baseline. delete-all --user (and hopefully, also unset, not disable) does sound handy, but sounds extreme, so might be scary for folks. Doing that with --sys-prefix... no idea what that will be like for a conda-managed bunch of extensions. I suppose someone could just then conda install --force some-extension again.

@ellisonbg
Copy link
Contributor Author

ellisonbg commented Feb 7, 2017 via email

@blink1073
Copy link
Contributor

Closing due to consensus that all required 5.0 actions have been made.

@ellisonbg
Copy link
Contributor Author

ellisonbg commented Feb 8, 2017 via email

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants