Skip to content

Conversation

@rgommers
Copy link
Member

The primary change is using release builds, which are 3x-4x smaller than debug builds, hence adding --release shrinks the cache usage on GitHub Actions a lot where ccache is used.

Caching the downloaded packages from PyPI isn't worth it given the 10 GB org-wide limit.

xref #21491 (comment) for context

Note: there is more to gain along these lines. Using --release in conda/pixi envs is complicated by the compiler activation issue (it adds -O2 which clashes with --release). This is better left alone until conda-forge finally fixes this issue, since there's some recent motion there.

@rgommers rgommers added the CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure label Nov 14, 2025
@rgommers
Copy link
Member Author

Might be better to push this forward once the unrelated CI failures are resolved.

@rgommers rgommers marked this pull request as draft November 14, 2025 18:11
@ilayn
Copy link
Member

ilayn commented Nov 14, 2025

This looks good.

In multiple PRs one of the windows test jobs is hanging consistently. Do we have any changes recently that we can attribute to ?

@rgommers
Copy link
Member Author

In multiple PRs one of the windows test jobs is hanging consistently. Do we have any changes recently that we can attribute to ?

Based on when it started happening, the culprit is likely to be gh-23844. @lucascolley that job was hanging in gh-23844 right before the merge commit, so you probably shouldn't have merged that one. The lock file contains changes for the openblas build as well as compilers and a lot more, which is hard to audit - so I suspect we may want to do a straight revert, and then reland the changes without the unnecesary lock file changes. WDYT?

@lucascolley
Copy link
Member

lucascolley commented Nov 14, 2025

@lucascolley that job was hanging in gh-23844 right before the merge commit, so you probably shouldn't have merged that one.

Ah drat, I was so frustrated with the noise from gh-23958 that I thought it was one of the cancelled jobs being caused by that. Let me see if I can figure it out.

EDIT: debugging at lucascolley#36

Copy link
Member

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff here LGTM if CI is happy!

@lucascolley lucascolley added this to the 1.17.0 milestone Nov 15, 2025
@rgommers rgommers force-pushed the ci-reduce-gha-caches branch from 9801ad0 to 24be7d9 Compare November 17, 2025 14:33
@rgommers
Copy link
Member Author

Should turn green now; still draft until the xsf PR is merged and the git submodule update points to the right commit.

Release builds are 3x-4x smaller than debug builds, hence
adding `--release` shrinks the cache usage on GitHub Actions
a lot where `ccache` is used.

Caching the downloaded packages from PyPI isn't worth it given
the 10 GB org-wide limit.
This shows up with GCC 13.3 but not 11.2, see pythran#2373
@rgommers rgommers force-pushed the ci-reduce-gha-caches branch from 93b04d7 to 69d62fc Compare November 17, 2025 17:18
@rgommers
Copy link
Member Author

Should turn green now

Except I forgot we need new NumPy nightlies - trying to get those out.

@rgommers
Copy link
Member Author

Green at last 😅

@lucascolley
Copy link
Member

what a battle that was!

@lucascolley lucascolley merged commit 5c0327c into scipy:main Nov 18, 2025
103 of 114 checks passed
@rgommers rgommers deleted the ci-reduce-gha-caches branch November 18, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Items related to the CI tools such as CircleCI, GitHub Actions or Azure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants