Skip to content

Bump GHA versions - #1155

Merged
aphearin merged 10 commits into
astropy:masterfrom
pllim:gha-update
Oct 28, 2026
Merged

aphearin merged 10 commits into
astropy:masterfrom
pllim:gha-update

Conversation

@pllim

@pllim pllim commented Oct 22, 2026

Copy link
Copy Markdown
Member

Follow up of #1154

xref astropy/astropy#20667

@pllim pllim added the dependencies Pull requests that update a dependency file label Oct 22, 2026
Comment thread .github/workflows/wheels.yaml Resolved
@pllim
pllim marked this pull request as ready for review October 22, 2026 18:28
@pllim
pllim requested a review from aphearin October 22, 2026 18:28
@pllim

This comment was marked as resolved.

but not sure if this is a good idea
@pllim

pllim commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Hmm is the ubuntu wheel supposed to take this long?

@aphearin

Copy link
Copy Markdown
Contributor

Sometimes it can take a couple of hours. It's a ton of cython. Although since the macos wheel built so quickly, is it possible that this is because 22.04 is so old?

@pllim

pllim commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Took 61 mins but passed. 🤷‍♀️

So, should we proceed or wait for the next cibuildwheel release? 🤔

@henryiii

Copy link
Copy Markdown

The regression is only when you set an environment variable via tool.cibuildwheel.environment that isn't supported in the host Python. So it's pretty rarely a problem, I'd think.

@aphearin

Copy link
Copy Markdown
Contributor

So, should we proceed or wait for the next cibuildwheel release?

Let's wait until next week after the cibuildwheel release.

Question: will wheels.yaml need to be updated with an updated cibuildwheel version after the next release?

Either way, after the next release, I can trigger one more PR check of the build, then I'll revert wheels.yaml to only run on release, and then proceed to merge.

@pllim

pllim commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

I bumped cibuildwheel to the new version released today. I'll leave this in your good hands now, @aphearin . Thanks, all!

@aphearin

Copy link
Copy Markdown
Contributor

Looks like the new wheels build without issues (although now ubuntu wheels take 99 minutes), so I'll revert to building the wheels on release only and then merge. Many thanks @pllim! And thanks also to @henryiii for the consultation.

@pllim

pllim commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

So... pytest happened to have a release and broke pytest-remotedata, so I will have to release pytest-remotedata first and come back to this.

In the meantime, I noticed your CI setup was outdated and updated some files, so the scope expanded.

@pllim

pllim commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

@aphearin can you please re-review to make sure you are okay with the extra changes to CI setup? Thanks!

@pllim

pllim commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

p.s. If you are happy with this, please do use the "squash and merge" button. 😅

@aphearin aphearin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Many thanks @pllim!

branches:
- master

concurrency:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for implementing updates like this, which are opaque to me.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment thread tox.ini
setenv = MPLBACKEND=agg
setenv =
MPLBACKEND=agg
devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/astropy/simple https://pypi.anaconda.org/scientific-python-nightly-wheels/simple

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for implementing updates like this, which are opaque to me.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Actually I see that you don't really use devdeps in your tox env but when you decide to, hopefully it would Just Work. ™️ 😸

@aphearin
aphearin merged commit c286f46 into astropy:master Oct 28, 2026
8 of 14 checks passed
@pllim
pllim deleted the gha-update branch October 28, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants