mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2053] Python with architecture 'arm64' was not found for Ubuntu #986
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#986
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fareshan on GitHub (Oct 18, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2053
Bug report info
Command used with act
Describe issue
I get this error :
The version '3.11.5%0A' with architecture 'arm64' was not found for Ubuntu 22.04.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
I tried different versions of Python and Ubuntu with the same result.
I have an apple M1 chip.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
Chip : Apple M1
OS : Ventura 13.4.1
@Ancient123 commented on GitHub (Oct 18, 2023):
I think this problem might possibly be related to this bug. (
::error::The version '3.11.5%0A'is very curious)https://github.com/actions/setup-python/pull/628
Try removing the newline from the end of your
.python-versionfile and see if the issue goes away.@fareshan commented on GitHub (Oct 19, 2023):
Thanks @Ancient123 , it fixes a part of the issue but it still does not find the 3.11.5 version. Now I get
::error::The version '3.11.5' with architecture 'arm64' was not found for Ubuntu 22.04.%0AThe list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json@TimidRobot commented on GitHub (Oct 24, 2023):
On Apple M1 Pro running macOS Sonoma 14.0 (23A344).
I have (https://github.com/creativecommons/ccos-scripts/tree/main/.github/workflows):
and receive the error message excerpt:
unfortunately, https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json does not contain 3.11 for linux/arm64 and act refuses to honor
--container-architecture linux/x64:@ChristopherHX commented on GitHub (Oct 24, 2023):
--container-architecture linux/x64FYI x64 is windows slang use
--container-architecture linux/amd64No docker refuses not act.
@fareshan commented on GitHub (Oct 24, 2023):
Thanks to your comments, I understood that I had to add
--container-architecture linux/amd64to solve my issue