Repository navigation
ci: move workflows off the retired ubuntu-20.04 runner - #64
Merged
Merged
Conversation
GitHub retired the ubuntu-20.04 runner, so every job stayed queued until it was cancelled after 24 hours, and no tests, documentation builds or releases ran. Run on ubuntu-22.04 as ODAT-SE does, test with Python 3.9 and 3.12 (Python 3.6 is not available there), and update the checkout, setup-python and slug actions to the pinned versions ODAT-SE uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tindex is a one-element array, and assigning it to an array element
relies on NumPy converting a size-1 array to a scalar, which recent NumPy
rejects ("setting an array element with a sequence"). The failing rank
then left the others blocked in MPI until the job timed out. Use
Tindex[0], as ODAT-SE does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GitHub has retired the
ubuntu-20.04runner, so every workflow job in this repository stayed queued until it was cancelled after 24 hours. No tests, documentation builds, documentation deployments or PyPI releases have been running.ubuntu-22.04, as ODAT-SE does; test with Python 3.9 and 3.12 (Python 3.6 is not available on current runners); updateactions/checkout,actions/setup-pythonandrlespinasse/github-slug-actionto the same pinned versions ODAT-SE uses. The slug action v5.6.0 still providesGITHUB_REF_SLUG, whichdeploy_docs.ymluses.tests/exchangefailed withValueError: setting an array element with a sequenceatibuf[0] = self.Tindex.Tindexis a one-element array, and recent NumPy no longer converts it to a scalar implicitly; the failing process left the others blocked in MPI until the job timed out. It now sendsTindex[0], the same as ODAT-SE. The values sent over MPI are unchanged.Verification
exchangeon Python 3.12 timed out while the other 13 jobs passed.deploy_docs.ymlanddeploy_pypi.ymlonly run on pushes to develop/master and on tags, so they are not exercised by this branch; their changes are limited to the runner and action versions.Note
pyproject.tomlstill declarespython = ">=3.6.8", but Python 3.6 is no longer tested.🤖 Generated with Claude Code