mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1811] actions/setup-python@v4 fails to download Python #880
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#880
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 @jellybob on GitHub (May 17, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1811
Bug report info
Command used with act
Describe issue
When running the test case shown below setup-python fails to download the requested version of Python, raising an error that the temporary file does not exist. This appears to be coming from the tool-cache package in Github's Actions standard libraries, which unhelpfully swallows any exceptions raised during a download.
Setting python-version to 3.7 successfully completes on the full containers, having found Python 3.7.11 in the hosted tool cache. On the more limited containers that also fails. Both cases complete on an actual Github Actions run.
While I understand there is a more limited set of tools installed on the smaller containers it seems odd that using an action that explicitly goes and downloads the relevant tool for use should fail, I'd expect this to cause slightly slower initial runs instead.
Link to GitHub repository
https://github.com/jellybob/act-setup-python
Workflow content
Relevant log output
Additional information
No response
@ravsii commented on GitHub (May 20, 2023):
Not a python-only issue. I'm experiencing the same with Go. Probably some other
setup-xactions are affected as well.@github-actions[bot] commented on GitHub (Nov 17, 2023):
Issue is stale and will be closed in 14 days unless there is new activity