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
Install Jupyter kernel spec and nbextensions in $SAGE_LOCAL #19371
Comments
This comment has been minimized.
This comment has been minimized.
New commits:
|
Commit: |
comment:4
Looks good to me. |
Reviewer: Eric Gourgoulhon |
comment:6
You are concerned with multiple But I am more worried about the fact that on a global install people won't be able to touch that directory. If you don't need to put anything else in it at "user runtime" great. If not we are in a big no situation as far as I am concerned (and William will almost certainly not be happy either). As for running multiple |
comment:7
Replying to @kiwifb:
I think you need to explain this more. The only possible issue I can see is that maybe the directory If
We do not need to put anything else in that directory at runtime. Why do you think we do? |
comment:8
Replying to @jdemeyer:
Proper packaging in the sense of rpm, deb and most other doesn't allow you to write in the "live" system. Things are installed and written in a sandbox space and then copied (merged) to the system. Because of the way Andrew wrote
Because I am uncertain of how it works. You are obviously creating something there as place holder but it was possibly silly of me. |
comment:9
Replying to @kiwifb:
So, if
I have absolutely no idea what this sentence means. |
comment:10
Replying to @kiwifb:
It's really just one configuration file. That's the whole thing I don't understand: what makes this one particular file so special? You apparently manage to install all of Sage, but not this one particular file? |
comment:11
Two things:
The install procedure for sage is now trying to create Now my main concern was the potential for user to do something to |
comment:12
Replying to @kiwifb:
Right, and how does this work with |
comment:13
Replying to @kiwifb:
It happens that I am debating packaging tech with upstream, so I'd like to understand your issue. |
comment:14
Replying to @jdemeyer:
I have just read it ( before seeing your comment here). It is a bit messy but thinking more about it there must a bug of some kind. |
comment:15
I know what the problem is. We have three phases in order: build, test (optional) and install. Only the install phase is run with a prefix, this is the only time when it should be necessary. But the installation of the jupyter kernel is attempted during the build phase. So from my point of view that bit has to be restricted to install time. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:21
Thank you for taking my concern on board. |
Dependencies: #19371 |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed reviewer from Eric Gourgoulhon to none |
comment:28
Sorry I'm afraid I cannot review this one (don't feel competent about it). |
comment:29
I had a problem on an Ubuntu machine wher I could get MathJax in sheets created in my home directory but nowhere else. I checked the present patch and recompiled :
Is that enough for a positive review ? |
comment:30
Replying to @EmmanuelCharpentier:
Who are you asking? Essentially, that's up to you to decide. |
comment:31
Note that this depends on #19373. So, it would be nice if you could also review that. |
comment:32
Replying to @jdemeyer:
Is this dependance somehow managed by git ? In other terms, when I checked #19371 out, did that also applied #19373 ? If so, that means that my tests show that (#19371+#19373) passes ptestlong. I cannot speak for a Jupyter hub, since I don't have such a beast in my zoo... Otherwise, I'll have to check out #19373 and merge both branches, then recompile and ptestlong (about 4 hours on my Ubuntu netbook...). Or would it be enough to positively review #19371, and leave #19373 to someone equipped to do so ? |
Reviewer: Emmanuel Charpentier |
comment:34
Replying to @jdemeyer:
OK. I give a positive review to #19371. I'll leave to someone having the possibility to really test #19373 the responsibility of validating it. |
Changed branch from u/jdemeyer/install_jupyter_kernel_spec_in__sage_local to |
Instead of installing the Jupyter files in the user's home directory, we should install it in
$SAGE_LOCAL
(a "system" install). This has two main advantages:We should not use versioned identifiers. For example, all these actually refer to the same Sage installation:
I'm also replacing
IPython
->Jupyter
andSage
->SageMath
Depends on #19373
Component: interfaces
Author: Jeroen Demeyer
Branch/Commit:
4f06d3d
Reviewer: Emmanuel Charpentier
Issue created by migration from https://trac.sagemath.org/ticket/19371
The text was updated successfully, but these errors were encountered: