Skip to content

Conversation

webknjaz
Copy link
Member

This is an experimental attempt to work around the bug in actions/setup-python@v5 [1].

The upstream `actions/setup-python` has rudimentary support for cache
management but it's rather limited. It also has bugs in caching [[1]].

Having own reusable cache computation bit gives us better level of
control, letting us make cache depend on specific Python runtime
features.

[1]: actions/setup-python#1034
@webknjaz webknjaz force-pushed the maintenance/gha-setup-python-uncache branch from e4d2161 to 75865cf Compare February 15, 2025 02:20
@webknjaz webknjaz merged commit ab9edac into aio-libs:master Feb 15, 2025
34 checks passed
webknjaz added a commit to webknjaz/ansible--awx-plugins that referenced this pull request Feb 26, 2025
This action generalizes a piece of code for ABI-sensitive cache
management that we were copying around. It also handles corner cases
better than `actions/setup-python`.

Refs:
* https://github.com/marketplace/actions/cache-python-deps
* https://github.com/re-actors/cache-python-deps
* aio-libs/frozenlist#622
* aio-libs/frozenlist#633
* actions/setup-python#1034
* cherrypy/cheroot#739
webknjaz added a commit to sphinx-contrib/sphinxcontrib-towncrier that referenced this pull request Feb 27, 2025
This action generalizes a piece of code for ABI-sensitive cache
management that we were copying around. It also handles corner cases
better than `actions/setup-python`.

Refs:
* https://github.com/marketplace/actions/cache-python-deps
* https://github.com/re-actors/cache-python-deps
* aio-libs/frozenlist#622
* aio-libs/frozenlist#633
* actions/setup-python#1034
* cherrypy/cheroot#739
webknjaz added a commit to ansible/awx_plugins.interfaces that referenced this pull request Mar 4, 2025
This action generalizes a piece of code for ABI-sensitive cache
management that we were copying around. It also handles corner cases
better than `actions/setup-python`.

Refs:
* https://github.com/marketplace/actions/cache-python-deps
* https://github.com/re-actors/cache-python-deps
* aio-libs/frozenlist#622
* aio-libs/frozenlist#633
* actions/setup-python#1034
* cherrypy/cheroot#739
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot:chronographer:provided dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant