-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Meta-ticket: Set environment for subprocesses invoked by Sage #30818
Comments
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.
mkoeppe
changed the title
Set environment for subprocesses invoked by Sage
Meta-ticket: Set environment for subprocesses invoked by Sage
Nov 11, 2020
comment:6
Hoping we can make progress on this ticket this week - https://wiki.sagemath.org/days111 |
Changed keywords from none to sd111 |
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:13
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Instead of relying on running in an environment set up by
sage-env
, we should set up specific environment variables whenever we invoke executables. This will be configurable throughsage_conf
.This is so that Sage is fully functional even when not being run from within
sage-env
. This continues what was done in #29038/#30563 for Maxima.As this ticket removes some hard-coded paths depending on
SAGE_LOCAL
from sagelib, it will reduce the need for patching for downstream packaging.A possible implementation strategy goes through
sage.features.Executable
.This is part of:
sage-env
into 5 to clean up sage configurationTaken care of in separate tickets:
sage.env
: Remove fallback ofSAGE_LOCAL
toSAGE_VENV
, remove direct uses ofSAGE_LOCAL
from the Sage librarysage.features.Executable
: Prepend$SAGE_VENV/bin:$SAGE_LOCAL/bin
toPATH
, remove dependency ondistutils
sage.graphs
: UseExecutable.absolute_filename()
lrs
cddlib
palp
gfan
os.getenv
insage.interfaces
ARCHFLAGS
- see Accept /usr/bin/python3 from XCode 12.3 on macOS 10.15 (Catalina) and 11 (Big Sur) #31227)sage.misc.cython
CC: @kiwifb @tobiasdiez @dimpase @antonio-rojas @orlitzky @seblabbe
Component: refactoring
Keywords: sd111
Issue created by migration from https://trac.sagemath.org/ticket/30818
The text was updated successfully, but these errors were encountered: