-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
SageNB package contains many packages #14840
Comments
Changed author from Felix Salfelder to Jeroen Demeyer |
Changed keywords from toplevel build system notebook to notebook |
This comment has been minimized.
This comment has been minimized.
Changed keywords from notebook to notebook, days77 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:59
IMHO sagenb should not drag all of its dependencies into sage. Why can't the installation script simply run |
comment:60
Sage policy is to not require internet access to build Sage: you should be able to download a complete tarball and build from that. So we have to include tarballs for all of these dependencies, at which point why not make them Sage packages? Then we know they are available if they are needed elsewhere in Sage, and we can make any other dependencies explicit. |
comment:61
Replying to @jhpalmieri:
perhaps it's time for it to change; after all we tell users to install ssl support via pip, creating a lot of pain and confusion along the way, as we don't package the corresponding script thanks to exactly this prohibition. If we changed this policy we would only improve the nb-related procedures here.
well, in this case they are not needed anywhere else in sage. |
comment:62
I tend to agree that we should just exclude web-based UIs (SageNB + Jupyter) from the "self-contained tarball" and make them pip-type optional packages instead. If you don't have internet access then how come you have a browser installed? Also the whole OpenSSL can of worms if you really want to run a server. But this should be changed at a major release, not now. |
comment:63
Replying to @vbraun:
Because you live in a third world country and have inconsistent access? Because you're traveling and want to build Sage while on an airplane (and without paying the wifi fees)? You can come up with plenty of reasons. |
comment:64
Replying to @jhpalmieri:
Inconsistent access is a nightmare if you need to get a large file (e.g. current Sage source tarball), as opposed to several small files. Besides, mind you, much more popular than Sage software distribution systems, e.g. ones for Python, Haskell, OCaml do require internet access, by default. Convenience for the majority (and for developers) ought to come before exotic usage cases. |
comment:65
IMHO those use cases are better served by having a script that downloads all standard+optional packages. I already have a script where you just have to
to grab them all in one go. |
comment:66
Replying to @dimpase:
Hence tarballs on thumb drives.
If/when we make sagenb into an optional or experimental package, I have no objections to doing the same with these dependencies. But until then, in what way is including a dozen packages an inconvenience? It doesn't take up any extra disk space or extra time building Sage since we're already including them, it just adds a few directories in Replying to @vbraun:
And how are Sage developers supposed to know about this, if they are going to be traveling and without good internet access for a while? It sounds like a good idea, but I still don't see what it saves vs. making these standard Sage packages (for as long as sagenb is a standard Sage package, but no longer). |
comment:67
As I said above, I do agree that we should make the packages standard now. But in the future we should probably reevaluate the wisdom for why we are making source tarballs with two separate web-based notebooks. |
comment:68
I'm not quite sure why the "web-based" is relevant here; why not say "browser-based" instead? I use my browser all the time without being on the internet - primarily as a Sage GUI, but most browsers now save things for later reading, I often save pages to show to students in situations where wireless isn't working and it opens in the browser, etc. After all, most people aren't running their local sagenb or Jupyter as a web service. Anyway, this solution seems to me like a good intermediate solution. |
comment:69
OK, I'll be happy to review this; I just merged your pull request. Could you perhaps make an official tarball, based off https://github.com/sagemath/sagenb ? |
comment:70
No need for a new tarball, just define the one already on this ticket as the official one. |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:72
Volker just reminded me that we cannot use |
comment:73
Replying to @jdemeyer:
pip is a standard Sage package. Are you saying that it is broken, generally speaking? |
comment:74
Replying to @dimpase:
Sort of: it always requires SSL even if you don't make any internet connection.
Apparently not. |
comment:75
looks OK on linux. let me see if it's also OK on OSX, just in case. |
Changed upstream from Reported upstream. No feedback yet. to None of the above - read trac for reasoning. |
Changed reviewer from Salvatore Stella to Salvatore Stella, Dima Pasechnik |
comment:76
OK.lightly tested on few random worksheets, old and new, on OSX too. |
comment:77
Thanks! |
Changed upstream from None of the above - read trac for reasoning. to Completely fixed; Fix reported upstream |
Changed branch from u/jdemeyer/ticket/14840 to |
This ticket changes SageNB from a distribution to a normal Python package. This means unbundling everything which used to be part of the SageNB distribution.
The package
webassets
is simply removed, since it doesn't seem to be used by anything in Sage or SageNB. This thread indicates thatwebassets
is used by thenewui
branch of SageNB but not in vanilla SageNB. So it has no reason being in Sage currently.New upstream tarballs:
-
->_
)-
->_
)-
->_
)-
->_
)-
->_
)-
->_
)Upstream: Completely fixed; Fix reported upstream
CC: @jondo @kcrisman
Component: packages: standard
Keywords: notebook, days77
Author: Jeroen Demeyer
Branch/Commit:
b5fb38b
Reviewer: Salvatore Stella, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/14840
The text was updated successfully, but these errors were encountered: