-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Fixes for the conda-for-Sage-developers installation method, add GH Actions workflow #30845
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
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.
comment:7
Something like https://github.com/tobiasdiez/sage/blob/public/build/conda_gh/.github/workflows/ci-conda.yml? This currently fails with
https://github.com/tobiasdiez/sage/runs/1594237745?check_suite_focus=true |
Commit: |
Author: Tobias Diez |
Branch: public/build/conda_gh |
comment:11
Managed to fix the above error, just to be stuck two lines further down:
https://github.com/tobiasdiez/sage/runs/1594601374?check_suite_focus=true |
comment:12
Found a hack that fixed it by removing the lib64 folder. It only contained |
comment:13
Made a bit more progress, but it currently errors while compiling gcc. Moreover, there is a problem in the detection of the conda/system gcc because "sage-env-config" doesn't exist. |
comment:15
The |
comment:16
The |
comment:17
|
comment:19
Replying to @tobiasdiez:
This is now #31097. |
comment:308
Replying to @mkoeppe:
That largely depends on the nature of the error. If the error in the config step is critical, then the build step will fail and no tests are run. Moreover, there is no harm in executing also the other steps, the workflow will still be displayed as failed due to the error in the config job. You just get a bit more information. |
comment:309
Replying to @tobiasdiez:
No, it doesn't. On error, the generated files are not generated. |
Changed reviewer from Matthias Koeppe, Dima Pasechnik, https://github.com/mkoeppe/sage/actions/runs/2001401113 to Matthias Koeppe, Dima Pasechnik, Tobias Diez |
comment:310
Replying to @mkoeppe:
I'm fine with these changes (although they probably should have been extracted to their own tickets as they don't have to do anything with the github workflow; but lets not be overly pedantic). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:314
Replying to @mkoeppe:
I tried it locally and the necessary files seem to be still present when |
This comment has been minimized.
This comment has been minimized.
comment:316
Replying to @tobiasdiez:
You are right. |
comment:317
Nevertheless, |
comment:318
But it's fine for now, let's see that we can get it merged in 9.6. |
comment:319
Onward to documenting it, #33426? |
comment:321
Replying to @tobiasdiez:
Yes, the fix to Sometimes the scope of a ticket needs to be adjusted during development. You already know that sometimes the scope turns out to be too big and it is necessary break out smaller, more manageable and more clearly defined tickets. But sometimes the scope of a ticket also turns out to be too small and the ticket is not viable on its own. This is what happened on the present ticket. The workflow documented in the wiki https://wiki.sagemath.org/Conda has never actually worked. Creating a GH Actions workflow based on a semi-quasi-working variant of it, by itself was not convincing as a ticket (comment:121 - "what does it test"). With the broader scope of actually fixing this way of installing Sage and testing something that we can recommend to developers, the ticket has a viable scope: The changes bring a clear improvement to Sage. |
comment:322
Some of the test suite failures that we saw are from ipython 8.x; #33170 updates the doctests |
comment:323
Replying to @mkoeppe:
Thanks for the review! |
comment:325
Replying to @mkoeppe:
In general I agree that a ticket has to have a clear scope and improvement. For this ticket here, the github workflow essentially didn't change in the past 4 weeks, and at this point it was already clear that the workflow works in principle, with the caveat that a lot of docstests failed. In my opinion, it would have been better to merge the ticket already (with the few additional improvements to the workflow that we have discussed), then follow-up tickets could have easily improved different aspects of the conda environment, while the previous runs of the ci would have served as a baseline. Even thinks like the addition of the tests for macos could have been small follow-up tickets. I really think the tendency of the sage developers to create a lot of parallel, inter-dependent tickets makes reviewing harder and slows down the process. A more linear approach would increase the dev experience and velocity in my opinion. Anyway, I'm happy that this ticket is finally ready to be merged. |
comment:326
Replying to @tobiasdiez:
The project generally uses a standard for tickets higher than that. |
comment:327
Is there a ticket for the remaining failures after this ticket? |
comment:328
Yes, they are collected in #33331. |
Changed branch from public/build/conda-runci to |
Add github action workflow that checks the build of sage in a conda environment, completely bypassing the installation of any sage package. This is based on the steps outlined at https://wiki.sagemath.org/Conda.
This also tests that the generated
src/environment*.yml
files work correctly. (See documentation added in #28745)Run: https://github.com/sagemath/sagetrac-mirror/actions/workflows/ci-conda.yml
Fixes:
environment.yml
configure
as being too old.gdb
because it is broken on macOS.lrcalc_python
ld
warnings in doctestssage_spkg
, check whether any Sage packages are actually installedptyprocess
in sagemath-standard's install-requiresFollow-ups: See Meta-ticket #33331
Depends on #33358
Depends on #33330
Depends on #33361
Depends on #33141
CC: @isuruf @tobiasdiez @dimpase @saraedum
Component: build
Keywords: sd111
Author: Tobias Diez, Matthias Koeppe
Branch/Commit:
93fce5a
Reviewer: Matthias Koeppe, Dima Pasechnik, Tobias Diez
Issue created by migration from https://trac.sagemath.org/ticket/30845
The text was updated successfully, but these errors were encountered: