-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
Fix broken symlink to documentation in the Sage jupyter kernelspec #30903
Comments
Commit: |
New commits:
|
Author: Matthias Koeppe |
comment:5
It is not completely clear to me why we "poison" all of these directory names. The comment "# We also poison all directories below SAGE_LOCAL" seems like an aside, as if this may not be necessary. Any comments? Also, does this affect bdist production? |
comment:6
We poison them so that it becomes harder to reintroduce bad code that breaks the separation of the sage distribution from the sage library. I introduced this in #21480. |
comment:7
Replying to @jhpalmieri:
I don't know if the bdist does anything special about these symlinks. If it does not, then it is broken currently and will be fixed by this ticket as well. |
comment:8
I think this is a bad-enough problem that we should release a 9.2.1 patch release, since this broke using help in the Jupyter kernel for users. Not a good look. |
comment:9
Is this really the right approach? It also poisons |
comment:10
I see now that it's ok since when running this script in the sage shell |
comment:11
Instead of "poisoning" these variables, why don't we unset them instead, and then let The one exception would be SAGE_ROOT, but I think instead of setting it to a bogus value it, and another other paths derived from it, should be set to |
comment:12
Replying to @embray:
The point of the poisoning is that defaults are NOT used. |
comment:13
Replying to @embray:
That's right. The core of the mess is that the build system ( |
comment:14
In any case, this ticket here is a simple fix. The real action is happening in Meta-ticket #30306. |
Reviewer: Dima Pasechnik, Erik Bray |
comment:15
lgtm |
comment:16
Thanks. |
Changed branch from u/mkoeppe/fix_broken_symlink_to_documentation_in_the_sage_jupyter_kernelspec to |
Changed commit from |
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to jupyter kernel, symlink |
Follow-up from #30299 (Minimal fix for broken jupyter notebook):
Sage creates a broken symlink
which blocks
jupyter kernelspec install
into a system Jupyter using the instructions from #30476:Reports:
CC: @EmmanuelCharpentier @malb @jcamp0x2a @dimpase @jhpalmieri @egourgoulhon @kiwifb @slel
Component: notebook
Keywords: jupyter kernel, symlink
Author: Matthias Koeppe
Branch:
42eaffa
Reviewer: Dima Pasechnik, Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/30903
The text was updated successfully, but these errors were encountered: