-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Allow sage -i python to actually install the right version of Python #19105
Comments
comment:1
I don't understand what the ticket proposes.
|
comment:2
Replying to @vbraun:
Luckily, none of the above applies. There is already code in |
comment:3
Admittedly, making |
comment:4
IMHO it is not needed, just make up your mind which python version you want to install. |
Branch: u/jdemeyer/ticket/19105 |
Commit: |
comment:8
Note that this is the only commit for this ticket, the rest comes from dependencies:
|
comment:9
So the solution is C: Adding more spaghetti code to the install script to special-case python |
comment:10
Another possible solution: don't search on-line standard packages. diff --git a/build/bin/sage-spkg b/build/bin/sage-spkg
index f4b085b..356efb9 100755
--- a/build/bin/sage-spkg
+++ b/build/bin/sage-spkg
@@ -331,7 +331,7 @@ if [ ! -f "$PKG_SRC" ]; then
if [ $? -ne 0 ]; then
exit 1
fi
- for repo in optional experimental standard huge archive; do
+ for repo in optional experimental huge archive; do
# Download the list of packages.
echo ">>> Checking online list of $repo packages."
# File inside DOT_SAGE should be writable That's where the problematic Python package is, right? And with recent versions of Sage, is there any reason to search "standard" packages? I think that all of those are either outdated or have more recent new-style replacements. |
comment:11
Replying to @jhpalmieri:
As you recall from #19004, we aren't searching anything anymore. There are two partially separate issues here:
This patch here is more about the second point. |
comment:12
There was also talk of rolling back #19004, in which case my suggestion would apply. But I guess not here. Is that a worthwhile change to make in any case? Should I open a ticket? |
comment:13
Replying to @jhpalmieri:
For what exactly? |
comment:14
Never mind. If you take any efforts to roll back #19004, consider making those changes. |
comment:15
Replying to @jhpalmieri:
Well, there is this huge thread on sage-devel discussing that. Some people are in favour, some against, no clear consensus. There is also a ticket for the rollback: #19158. |
Changed dependencies from #19119 to none |
Reviewer: Jeroen Demeyer |
Changed author from Jeroen Demeyer to none |
comment:16
Close as "nobodycares". |
CC: @jhpalmieri
Component: scripts
Branch/Commit: u/jdemeyer/ticket/19105 @
74c78c1
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/19105
The text was updated successfully, but these errors were encountered: