You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Github action to install python in all flavours of amazon linux. The goal of this action is to be a drop in replacement
5
+
Github action to install python in amazon linux. The goal of this action is to be a drop in replacement
6
6
for the github's official [setup-python action](https://github.com/actions/setup-python) to the maximum extent possible.
7
7
8
8
## Why?
9
9
10
10
- This project exist because as of Nov 2023 [Github has no plans support amazon linux](https://github.com/actions/setup-python/issues/460#issuecomment-1185723652) for its official
11
-
[setup-python](https://github.com/actions/setup-python) action for amazon linux selfhosted runners.
11
+
[setup-python](https://github.com/actions/setup-python) action for amazon linux self-hosted runners.
12
12
13
13
## Implementation caveat
14
14
15
15
This action compiles the desired version of python from source for the first time because the glibc version in use in
16
16
amazon linux 2 is very old (2.26) and the pre-made existing binary distributions fail with the following error
17
17
18
-
```yaml
18
+
```
19
19
python: /lib64/libc.so.6: version `GLIBC_2.27' not found
20
20
python: /lib64/libc.so.6: version `GLIBC_2.28' not found
0 commit comments