Open aaroncameron-wk opened 2 weeks ago
Hello @aaroncameron-wk, Thank you for creating this issue and we will look into it :)
Hello @aaroncameron-wk, Thank you for your insightful comments. At present, 'setup-python' utilizes 'lsb_release' for 'cache:pip' execution. The 'actions/cache' feature can be used for caching. However, please be aware that even though Amazon Linux 2023 supports GLIBC 2.34, the caching process demands an upgrade to GLIBC 2.35.
Description: When
PipCache
attempts to generatepip
cache keys and invokesgetLinuxInfo
while running on Amazon Linux 2023, the following error occurs:This is also triggered when attempting to report errors when searching for Python versions, so this action fails to even give helpful error information when a missing
lsb_release
isn't even the issue.This is caused by the dependency on
lsb_release
, which is not available on Amazon Linux 2023:An alternative is the os-release standard. Using this, at least as a fallback, would go a long way in improving the limited support of AL2023.
Action version: 5.1.0
Platform:
Runner type:
Tools version: N/A
Repro steps:
Run this action on an Amazon Linux 2023 self-hosted runner with
cache: 'pip'
.Expected behavior: Action behaves as expected with pip dependencies cached.
Actual behavior: