Skip to content
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

CI: Fix the multi-stage build in ci-linux.yml, fix conda/centos/archlinux system packages #36358

Merged
merged 10 commits into from
Oct 8, 2023

Conversation

mkoeppe
Copy link
Member

@mkoeppe mkoeppe commented Sep 28, 2023

Fixes breakage from #36338 seen in https://github.com/sagemath/sage/actions/runs/6332061118/job/17206153694:

The 2nd stage (...-with-targets) does not find the container from the 1st stage (...-with-targets-pre) because they are keyed to the commit sha. Fixed here by keying it to the sha before merging the CI fixes.

Also fixing the following failures:

Also adding a few more uses of GH Action output groups for convenience.

Tests running at https://github.com/mkoeppe/sage/actions/workflows/ci-linux.yml

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

@mkoeppe mkoeppe self-assigned this Sep 28, 2023
@mkoeppe mkoeppe changed the title CI: Fix the multi-stage build in ci-linux.yml CI: Fix the multi-stage build in ci-linux.yml, fix conda/centos/archlinux system packages Sep 29, 2023
@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 29, 2023

Thanks!

@tobiasdiez
Copy link
Contributor

This cannot be marked yet as positive review since it has an unreviewed dependency (which in my opinion still needs work).

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 29, 2023

Nope, also the dependency has a positive review.

@mkoeppe
Copy link
Member Author

mkoeppe commented Sep 30, 2023

Rebased away from #36348, for natural velocity

@tobiasdiez
Copy link
Contributor

Thanks!

@github-actions
Copy link

Documentation preview for this PR (built with commit def59ae; changes) is ready! 🎉

vbraun pushed a commit to vbraun/sage that referenced this pull request Oct 1, 2023
…conda/centos/archlinux system packages

    
<!-- ^^^^^
Please provide a concise, informative and self-explanatory title.
Don't put issue numbers in there, do this in the PR body below.
For example, instead of "Fixes sagemath#1234" use "Introduce new method to
calculate 1+1"
-->
<!-- Describe your changes here in detail -->
Fixes breakage from sagemath#36338 seen in https://github.com/sagemath/sage/acti
ons/runs/6332061118/job/17206153694:

The 2nd stage (`...-with-targets`) does not find the container from the
1st stage (`...-with-targets-pre`) because they are keyed to the commit
sha. Fixed here by keying it to the sha before merging the CI fixes.

Also fixing the following failures:
- `conda-forge-minimal` (as seen in https://github.com/sagemath/sage/act
ions/runs/6207962004/job/16858998561); failed because the python3
depcheck packages were missing. Fixed now - check with `tox -e docker-
conda-forge-minimal -- config.status`
- `centos-stream-9-python3.9-minimal` (https://github.com/sagemath/sage/
actions/runs/6207962004/job/16858997494),
`almalinux-9-python3.11-minimal` (https://github.com/sagemath/sage/actio
ns/runs/6207962004/job/16858997663) and `-standard`; fixes sagemath#34786
- `archlinux-standard` - libgiac was missing in at least one run

Also adding a few more uses of GH Action output groups for convenience.

Tests running at https://github.com/mkoeppe/sage/actions/workflows/ci-
linux.yml

<!-- Why is this change required? What problem does it solve? -->
<!-- If this PR resolves an open issue, please link to it here. For
example "Fixes sagemath#12345". -->
<!-- If your change requires a documentation PR, please link it
appropriately. -->

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. -->
<!-- If your change requires a documentation PR, please link it
appropriately -->
<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
<!-- Feel free to remove irrelevant items. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [ ] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#36358
Reported by: Matthias Köppe
Reviewer(s): Dima Pasechnik
@vbraun vbraun merged commit afd8d0e into sagemath:develop Oct 8, 2023
10 of 12 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Oct 8, 2023
@mkoeppe mkoeppe deleted the ci_fix_multistage branch December 23, 2023 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix distro information for _python* on fedora/centos
4 participants