Title: PIP cache should cache the installed packages as well · Issue #330 · actions/setup-python · GitHub
Open Graph Title: PIP cache should cache the installed packages as well · Issue #330 · actions/setup-python
X Title: PIP cache should cache the installed packages as well · Issue #330 · actions/setup-python
Description: Description: Currently, setup-python caches only the ~/.cache/pip directory to avoid redownloads. However, it doesn't cache the installed packages. As some package have lengthy installation steps, this leads to delays in builds. You can ...
Open Graph Description: Description: Currently, setup-python caches only the ~/.cache/pip directory to avoid redownloads. However, it doesn't cache the installed packages. As some package have lengthy installation steps, ...
X Description: Description: Currently, setup-python caches only the ~/.cache/pip directory to avoid redownloads. However, it doesn't cache the installed packages. As some package have lengthy installation ste...
Opengraph URL: https://github.com/actions/setup-python/issues/330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"PIP cache should cache the installed packages as well","articleBody":"\u003c!--- Please direct any generic questions related to actions to our support community forum at https://github.community/c/code-to-cloud/github-actions/41 ---\u003e\r\n\u003c!--- Before opening up a new feature request, please make sure to check for similar existing issues and pull requests --\u003e\r\n\r\n**Description:**\r\nCurrently, `setup-python` caches only the `~/.cache/pip` directory to avoid redownloads. However, it doesn't cache the installed packages. As some package have lengthy installation steps, this leads to delays in builds.\r\n\r\nYou can see the current behaviour for example in https://github.com/crabhi/setup-python-cache-test/actions/runs/1789016634 (or in attached [build.txt](https://github.com/actions/setup-python/files/7994132/build.txt)) - the `pip install` output shows \"Collecting\" and \"Installing\" instead of \"Requirement already satisfied\" for all packages.\r\n\r\n**Justification:**\r\nFor example installing the `ansible` package takes well over a minute even if it's already downloaded.\r\n\r\n**Are you willing to submit a PR?**\r\nYes, I can try.","author":{"url":"https://github.com/crabhi","@type":"Person","name":"crabhi"},"datePublished":"2022-02-03T11:42:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":34},"url":"https://github.com/330/setup-python/issues/330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b337883b-78f7-1d67-45cc-4f15e7071efd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C36:F27A1:99DC9C:DBD31D:6A63206B |
| html-safe-nonce | 112c400de8809a77c71c8000cb7ef6526e1730c30e918a84f96b8fa85e09e214 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzM2OkYyN0ExOjk5REM5QzpEQkQzMUQ6NkE2MzIwNkIiLCJ2aXNpdG9yX2lkIjoiNTg5MzExMzU5OTE1MDQ2NTEzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 96c5942d5c24ce3133ec1ed4b2d526921166443657806a789233d4385d170ff9 |
| hovercard-subject-tag | issue:1122983799 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/setup-python/330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7f455775fc38c3f76eb141dfd5407e2f1a58d0e5db3aa818d0bef4606caac8e4/actions/setup-python/issues/330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f455775fc38c3f76eb141dfd5407e2f1a58d0e5db3aa818d0bef4606caac8e4/actions/setup-python/issues/330 |
| og:image:alt | Description: Currently, setup-python caches only the ~/.cache/pip directory to avoid redownloads. However, it doesn't cache the installed packages. As some package have lengthy installation steps, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | crabhi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/setup-python git https://github.com/actions/setup-python.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 192625525 |
| octolytics-dimension-repository_nwo | actions/setup-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 192625525 |
| octolytics-dimension-repository_network_root_nwo | actions/setup-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width