-
Notifications
You must be signed in to change notification settings - Fork 305
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
Only load enabled extension packages #1180
Conversation
Thanks a lot for working on this, @minrk! |
Not sure why CI didn't run, kicking. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Codecov ReportBase: 80.09% // Head: 80.14% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1180 +/- ##
==========================================
+ Coverage 80.09% 80.14% +0.05%
==========================================
Files 68 68
Lines 8153 8149 -4
Branches 1606 1604 -2
==========================================
+ Hits 6530 6531 +1
+ Misses 1196 1191 -5
Partials 427 427
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
2f8cace
to
d643985
Compare
- only load metadata if a given extension package is enabled - module will be None, extension points will be empty if disabled - unify use of traitlets, removing redundant use of properties
d643985
to
bdd8dbc
Compare
I have a question. Is functionality "only load metadata if a given extension package is enabled" by default in this release: We don't need any flags to enable this functionality, right? |
Another question: if I directly install Jupyterlab by any method here, will it automatically include the latest v2.2.0 jupyter server release? |
You do not need any flags to enable this functionality. Yes, if you install JupyterLab 3.5+ then |
Thanks a lot! I encountered an issue during installation. That is, I put
Does this mean 2.2.0 hasn't been released? |
Hi @xinliupitt - the conda-forge PR was merged 7 hours ago (thank @bollwyvl), so it may still be propagating (or however that works). FWIW, I just now issued: $ conda install -c conda-forge jupyter_server==2.2.0 and it appears to have installed:
so I suspect you hit that window in which things were still getting "into position". |
Thanks a lot! Finally I find I need JupyterLab 3.5 + Python 3.8 as the dependencies, in order to upgrade to jupyter-server 2.2.0. |
@meeseeksdev please backport to 1.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
importlib_metadata
(module name != package name, etc.). I'm not sure how relevant the version number is for disabled extensions, though.