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

ENH: Build aarch64 natively #258

Merged
merged 6 commits into from
Feb 1, 2025
Merged

ENH: Build aarch64 natively #258

merged 6 commits into from
Feb 1, 2025

Conversation

larsoner
Copy link
Contributor

Use the native runners, which should make it so tests can always run (in other repos it has been faster than the intel ones 🫢 ).

@larsoner
Copy link
Contributor Author

@cbrnr assuming this works I'd merge this, delete the v0.5.9 release and tag, and then try releasing again

@larsoner
Copy link
Contributor Author

Okay so Numba 0.61.0 is available for aarch64, but we build using a cibuildwheel Linux image that's older than they do, so it fails to install during that test phase. Might as well keep using the older default image -- easy enough to fully test numba in the test phase. Should come back green, ready for review/merge from my end @cbrnr !

@cbrnr cbrnr merged commit 22632c8 into cbrnr:main Feb 1, 2025
16 checks passed
@cbrnr
Copy link
Owner

cbrnr commented Feb 1, 2025

Nice, thanks @larsoner!

@cbrnr
Copy link
Owner

cbrnr commented Feb 1, 2025

Publishing keeps failing, I'll take a look next week, have a great weekend!

/usr/bin/docker run --name ghcriopypaghactionpypipublishv1124_4ced49 --label c93bdb --workdir /github/workspace --rm -e "INPUT_USER" -e "INPUT_PASSWORD" -e "INPUT_REPOSITORY-URL" -e "INPUT_PACKAGES-DIR" -e "INPUT_VERIFY-METADATA" -e "INPUT_SKIP-EXISTING" -e "INPUT_VERBOSE" -e "INPUT_PRINT-HASH" -e "INPUT_ATTESTATIONS" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "GITHUB_ACTION_PATH" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_ID_TOKEN_REQUEST_URL" -e "ACTIONS_ID_TOKEN_REQUEST_TOKEN" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/sleepecg/sleepecg":"/github/workspace" ghcr.io/pypa/gh-action-pypi-publish:v1.12.4
Unable to find image 'ghcr.io/pypa/gh-action-pypi-publish:v1.12.4' locally
v1.12.4: Pulling from pypa/gh-action-pypi-publish
486dbf987c66: Pulling fs layer
499051ac08b3: Pulling fs layer
52a8eea45d12: Pulling fs layer
bc54bb88b02b: Pulling fs layer
665a9af43969: Pulling fs layer
0e75e16b9d84: Pulling fs layer
18cf20e9fac8: Pulling fs layer
029a30e14b9c: Pulling fs layer
7a941e8c7ff7: Pulling fs layer
ece1206f1676: Pulling fs layer
95dd86630acf: Pulling fs layer
e6c110cd5d12: Pulling fs layer
5d2794722c89: Pulling fs layer
4f4fb700ef54: Pulling fs layer
029a30e14b9c: Waiting
7a941e8c7ff7: Waiting
ece1206f1676: Waiting
95dd86630acf: Waiting
e6c110cd5d12: Waiting
5d2794722c89: Waiting
4f4fb700ef54: Waiting
bc54bb88b02b: Waiting
665a9af43969: Waiting
0e75e16b9d84: Waiting
18cf20e9fac8: Waiting
499051ac08b3: Download complete
52a8eea45d12: Verifying Checksum
52a8eea45d12: Download complete
bc54bb88b02b: Verifying Checksum
bc54bb88b02b: Download complete
486dbf987c66: Verifying Checksum
486dbf987c66: Download complete
665a9af43969: Verifying Checksum
665a9af43969: Download complete
18cf20e9fac8: Download complete
7a941e8c7ff7: Verifying Checksum
7a941e8c7ff7: Download complete
029a30e14b9c: Download complete
ece1206f1676: Verifying Checksum
ece1206f1676: Download complete
95dd86630acf: Verifying Checksum
95dd86630acf: Download complete
0e75e16b9d84: Verifying Checksum
0e75e16b9d84: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
5d2794722c89: Download complete
e6c110cd5d12: Verifying Checksum
e6c110cd5d12: Download complete
486dbf987c66: Pull complete
499051ac08b3: Pull complete
52a8eea45d12: Pull complete
bc54bb88b02b: Pull complete
665a9af43969: Pull complete
0e75e16b9d84: Pull complete
18cf20e9fac8: Pull complete
029a30e14b9c: Pull complete
7a941e8c7ff7: Pull complete
ece1206f1676: Pull complete
95dd86630acf: Pull complete
e6c110cd5d12: Pull complete
5d2794722c89: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:a93f8551592962259af75dd5fd6e0d3d3c0ab7e032d31607311d8fe7b4594fb8
Status: Downloaded newer image for ghcr.io/pypa/gh-action-pypi-publish:v1.12.4
Error: Trusted publishing exchange failure: 
Token request failed: the server refused the request for the following reasons:

* `invalid-publisher`: valid token, but no corresponding publisher (All lookup strategies exhausted)

This generally indicates a trusted publisher configuration error, but could
also indicate an internal error on GitHub or PyPI's part.


The claims rendered below are **for debugging purposes only**. You should **not**
use them to configure a trusted publisher unless they already match your expectations.

If a claim is not present in the claim set, then it is rendered as `MISSING`.

* `sub`: `repo:cbrnr/sleepecg:ref:refs/tags/v0.5.9`
* `repository`: `cbrnr/sleepecg`
* `repository_owner`: `cbrnr`
* `repository_owner_id`: `4377312`
* `workflow_ref`: `cbrnr/sleepecg/.github/workflows/cibuildwheel.yml@refs/tags/v0.5.9`
* `job_workflow_ref`: `cbrnr/sleepecg/.github/workflows/cibuildwheel.yml@refs/tags/v0.5.9`
* `ref`: `refs/tags/v0.5.9`

See https://docs.pypi.org/trusted-publishers/troubleshooting/ for more help.

@cbrnr
Copy link
Owner

cbrnr commented Feb 1, 2025

Since the name of the workflow file has changed, the new name had to be updated on PyPI as well.

@cbrnr
Copy link
Owner

cbrnr commented Feb 1, 2025

Finally released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants