-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Add SAGE_ROOT/environment.yml for "conda env create -f". #28745
Comments
Branch: u/mkoeppe/worktree-sagelib-conda |
New commits:
|
Author: Matthias Koeppe |
Commit: |
This comment has been minimized.
This comment has been minimized.
Changed keywords from none to conda |
comment:3
mkoeppe: I can only see one file in the diff here on trac. Did you forget to add the other? |
comment:4
This is how far I got! |
comment:5
Any help and discussion is welcome. |
comment:6
First of all, I think it's great to explore ways to provide an alternative to the SPKG system. I have been wanting to use conda for this for a long time. I have not used conda-debug a lot but I think a combination of A proper In the long run, it would be great if doctests passed, see conda-forge/sagelib-feedstock#19. |
comment:7
I am not sure I understand your intentions for the sage-the-distribution environment.yml. What would the workflow look like? Install that environment.yml, then force-uninstall the package that I want to work on? How would the SPKG system know which packages it needs to build now? |
comment:8
Replying to @saraedum:
Through the spkg-configure mechanism that was introduced recently, sage-the-distribution decides whether to install its own version of the package; but this can be overridden using |
comment:10
So, to make this actually useful, we'd need the corresponding configure flags to use "system" for everything that is in environment.yml as well, right? |
comment:11
But maybe we should split this into two tickets. One to do the sagelib environment.yml, and then this one to do the more complicated sage-the-distribution environment.yml. |
This comment has been minimized.
This comment has been minimized.
comment:13
Replying to @saraedum:
No, the default is already to use the "system" package when it is available and deemed suitable by the configure test. |
This comment has been minimized.
This comment has been minimized.
comment:16
Replying to @mkoeppe:
(Actually, the sagelib one is more complicated - see #28752!) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:18
This works reasonably well already (this is on macOS Mojave, with current miniconda 3).
Then, a parallel |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Changed branch from u/isuruf/environment_yaml to u/mkoeppe/environment_yaml |
New commits:
|
Changed branch from u/mkoeppe/environment_yaml to u/isuruf/environment_yaml |
New commits:
|
comment:72
Merge conflict |
comment:73
Which branch should I fix the conflict against? |
comment:74
Replying to @isuruf:
it's unfortunate feauture of our workflow that this is a bit of a moving target. do not try to merge/rebase with it, as it's likely to be in vain. |
Changed branch from u/isuruf/environment_yaml to u/mkoeppe/environment_yaml |
Last 10 new commits:
|
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. Last 10 new commits:
|
Changed branch from u/mkoeppe/environment_yaml to |
These files describes the conda environment (conda package dependencies):
environment.yml
- describes conda packages that are useful for installing sage.This would be a more idiomatic alternative to the
conda install
line that is shown at the end of./configure
In combination with the
spkg-configure
mechanism, this will speed up installation of Sage, in particular for users stuck on outdated OS distributions.Open:
environment.yml
environment.yml
, sage-the-distribution (build/pkgs
), and conda-forge packaging (https://github.com/conda-forge/sage-feedstock/tree/master/recipe, https://github.com/conda-forge/sagelib-feedstock/tree/master/recipe)See also:
Depends on #30839
Depends on #30719
Depends on #30611
CC: @isuruf @saraedum @dimpase @embray
Component: build
Keywords: conda
Author: Isuru Fernando
Branch/Commit:
736e006
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/28745
The text was updated successfully, but these errors were encountered: