setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

Cache Python versions not in the GitHub-hosted runners' tool cache.

Open vivodi opened this issue 1 year ago • 3 comments

Description: Currently, if the selected Python version is not in the GitHub-hosted runners' tool cache, it needs to be downloaded. (This is described in advanced usage)

I would like setup-python to cache Python versions not in the GitHub-hosted runners' tool cache, and if there are new versions in actions/python-versions, it should download the new version and update the cache.

Justification: I have observed that Python 3.13 is not in the tool cache of the windows-latest image, and setup-python takes 1 minute and 14 seconds to download and install Python. I would like to leverage caching to speed up this process.

image

Are you willing to submit a PR? No, I am not very familiar with TypeScript.

vivodi avatar Dec 28 '24 14:12 vivodi

Hello @vivodi, Thank you for creating this feature request and we will get back to you once we have some feedback on this :)

aparnajyothi-y avatar Dec 30 '24 13:12 aparnajyothi-y

@aparnajyothi-y unfortunately this is no feature request, but a bug. Python 3.13 is stable and should be cached. Here's another log.

EwoutH avatar Jan 03 '25 19:01 EwoutH

any update on this?

prinzpiuz avatar Jan 24 '25 09:01 prinzpiuz