-
-
Notifications
You must be signed in to change notification settings - Fork 580
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
Rework download/extract code in sage-spkg #12602
Comments
comment:1
Questions: if you type |
comment:2
I still think the default should be to give priority to local packages. We could support the following (-u for "upgrade"):
which would check the latest online version of mpfr, download it if needed. What do you think? |
This comment has been minimized.
This comment has been minimized.
Author: Jeroen Demeyer |
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:9
To what repository is your patch supposed to be added? It apparently does not work with devel/sage. |
This comment has been minimized.
This comment has been minimized.
comment:11
On line 268, why |
comment:12
Replying to @jhpalmieri:
No real reason. I just wanted to make sure that I changed the relevant code to the safer
|
Attachment: 12602_spkg_download.patch.gz |
comment:13
Okay, this latest change looks good. The code as a whole also looks good. I've been using this for a while (as part of the sage-gcc betas), and it seems to work well as part of the Sage build, when downloading optional packages (with and without version numbers specified), and when installing local packages. |
Reviewer: John Palmieri |
Merged: sage-5.0.beta10 |
The current code in
sage-spkg
to determine which package to install and whether to download it is buggy and too complicated. Also get rid of calls to thenewest_version
script, get rid of the "download again" part (why was it needed?).Changes in behaviour:
Apply attachment: 12602_spkg_download.patch to the SAGE_ROOT repository.
Depends on #12479
CC: @jhpalmieri
Component: build
Author: Jeroen Demeyer
Reviewer: John Palmieri
Merged: sage-5.0.beta10
Issue created by migration from https://trac.sagemath.org/ticket/12602
The text was updated successfully, but these errors were encountered: