{"repo":"kishaningithub/setup-python-amazon-linux","free":true,"listed":false,"github":"https://github.com/kishaningithub/setup-python-amazon-linux","clone":"git clone https://github.com/kishaningithub/setup-python-amazon-linux.git","description":"setup-python action for amazon linux self hosted runners","language":"Shell","stars":23,"topics":["hacktoberfest"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"setup-python-amazon-linux Github action to install python in amazon linux. The goal of this action is to be a drop in replacement for the Github's official setup-python action to the maximum extent possible. Why? - This project exists because, as of Nov 2023 Github has no plans support amazon linux in the foreseeable future for its official setup-python action for amazon linux self-hosted runners. Usage All you have to do is change \"setup-python\" to \"setup-python-amazon-linux\" in your workflows The python-version input is optional. If not supplied, the action will try to resolve the version from the default .python-version file. Highly recommend always setting Python version explicitly using the python-version or python-version-file inputs. For more options to the action, kindly refer action.yml Supported amazon linux flavours - Amazon Linux 2 - Amazon Linux 2023 If you need support for more kindly raise an issue or a PR Implementation caveat This action compiles the desired version of python from source for the first time because the glibc version in use in amazon linux 2 is very old (2.26) and the pre-made existing binary distributions fail with the following error Hence, only for the first time this action may like 3 to 4 minutes depending on the runner configuration. Post this only cache will be used and hence will be very fast (4 to 5 seconds) Contributing Contributions are most welcome! See CONTRIBUTING.md","default_branch":null,"files":null,"tree":[],"storefront":"/r/kishaningithub","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kishaningithub/setup-python-amazon-linux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}