-
-
Notifications
You must be signed in to change notification settings - Fork 480
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 conda dev environment #33740
Comments
comment:2
This looks quite odd to me. |
comment:3
I agree, not a good idea to treat this file different from all other of our files that are generated at bootstrap time. Also |
comment:4
Replying to @dimpase:
The issue is not so much to generate the file but how it is used. Running bootstrap requires a few dependencies which however are only specified in the environment file. So its a classical chicken-egg problem. Currently this is resolved by requiring the developers to first create a conda env with the necessary tools for
The dev environment is special in this respect, since its the only file that you would possibly like to use before the bootstrap. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:6
Replying to @mkoeppe:
Done. |
comment:7
ok, but please make the initial egg (say, |
comment:8
Mhh, having a conda environment just for the bootstrap would also work. But then one still has to run Having one conda environment config containing all necessary tools for bootstrap, compiling and running sage as well as a few additional dev tools is the most convenient, don't you think so? |
comment:9
Replying to @dimpase:
+1 on just splitting the generation of the yml files from |
comment:10
perhaps this should rather become a conda-forge package? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
Replying to @mkoeppe:
Like this? |
comment:13
that's much nicer, but where is the top-level invocation of |
comment:14
I wasn't sure about this one. The procedure now looks as follows:
So there is no point in invoking |
comment:15
Still need to invoke this so that the generated files end up in the sdist. |
comment:16
(See the shell function |
comment:17
Replying to @tobiasdiez:
I thought that Otherwise, I'd like to see |
comment:18
Replying to @dimpase:
Not a good idea. The output of |
comment:19
shouldn't |
comment:21
Replying to @dimpase:
With |
comment:22
Replying to @dimpase:
I like the idea to further simplify the workflow, but lets keep this ticket small and do further streamlining efforts in #33765. |
comment:23
Replying to @mkoeppe:
Okay, added. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:56
Replying to @mkoeppe:
Added again. |
comment:57
Replying to @tobiasdiez:
It's as normal as having a second installation in a separate directory |
comment:58
Replying to @mkoeppe:
If you want to install two sages in parallel, you should also be able to find the |
comment:59
Yes please. I added it on purpose in the original version. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:61
Replying to @mkoeppe:
okay done |
comment:62
Broken: https://github.com/sagemath/sagetrac-mirror/runs/6356314150 |
comment:63
conda's |
comment:64
This is not specific to this branch and also occurs for develop https://github.com/sagemath/sage/runs/6236167749?check_suite_focus=true |
Reviewer: Matthias Koeppe |
comment:65
Thanks for checking, I agree. Then it's good to go |
comment:66
Thanks! |
This comment has been minimized.
This comment has been minimized.
Changed branch from public/build/conda-dev-env to |
comment:69
The changes in this ticket made Before:
After:
Follow-up at #34097. |
Changed commit from |
We add a conda enviroment that is meant for development, i.e. includes tools that one probably needs while working on sage development such as linters, ssh (for contributing to trac) etc.
Moreover, we extract the conda-related things from
docs/bootstrap
to a newbootstrap-conda
script in order to simplify the conda workflow (see updated documentation).Github workflow run: https://github.com/sagemath/sagetrac-mirror/actions/runs/2268985510
CC: @isuruf @dimpase @saraedum @mkoeppe @slel
Component: build
Author: Tobias Diez
Branch:
87f360c
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33740
The text was updated successfully, but these errors were encountered: