-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Missing notebook.auth submodule? #7015
Comments
Thanks @apowers313 for opening this issue. Similar to #7010, this is because Notebook 7 is now based on Jupyter Server. You can achieve the same result by importing from from jupyter_server.auth import passwd
passwd("foo") |
Maybe this should be documented in the migration guide for visibility: https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html |
+1 to documentation. The three places I looked before posting a bug were:
|
Maybe the following changes to the docs would help then:
|
Description
notebook.auth
disappeared in notebook 7.x?Importing
notebook.auth
raises aModuleNotFoundError
. Importingnotebook
by itself works fine, and it seems that theauth
submodule was removed. Works with 6.x and I can't find anything in the changelog that says this API was removed.Reproduce
As mentioned in countless tutorials, with notebook 7.x installed:
Expected behavior
Should yield a hashed password that can be dropped into a config file.
The text was updated successfully, but these errors were encountered: