Skip to content

Add Support for python 3.10.18 #25

@mw-root

Description

@mw-root

This action cannot find python 3.10.18, presumably because it's pinning a version of uv that cannot find it.

I can confirm that uv 0.8.15 is able to install python 3.10.18.

❯ uv --version
uv 0.8.15 (Homebrew 2025-09-03)
❯  uv venv --python 3.10.18 temp
Using CPython 3.10.18 interpreter at: /Users/mikeweeks/.pyenv/versions/3.10.18/bin/python3.10
Creating virtual environment at: temp
Activate with: source temp/bin/activate

Action logs

2025-09-19T15:09:36.5840364Z ##[group]Run kishaningithub/setup-python-amazon-linux@f3b8f284fed9acb06894fc475fffd6d035ae51f3
2025-09-19T15:09:36.5840914Z with:
2025-09-19T15:09:36.5841150Z   python-version-file: .python-version
2025-09-19T15:09:36.5841437Z   cache: true
2025-09-19T15:09:36.5841645Z ##[endgroup]
2025-09-19T15:09:36.5964360Z ##[group]Run sudo yum install -y tar gzip which
2025-09-19T15:09:36.5964814Z �[36;1msudo yum install -y tar gzip which�[0m
2025-09-19T15:09:36.5979780Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-09-19T15:09:36.5980178Z ##[endgroup]
2025-09-19T15:09:52.0609154Z Amazon Linux 2023 repository                     12 kB/s | 3.6 kB     00:00    
2025-09-19T15:09:56.9579455Z Amazon Corretto                                 215 kB/s | 2.9 kB     00:00    
2025-09-19T15:09:56.9988819Z Amazon Corretto                                 7.1 MB/s | 294 kB     00:00    
2025-09-19T15:09:57.2234123Z packages for the GitHub CLI                     216 kB/s | 3.0 kB     00:00    
2025-09-19T15:09:57.2582335Z packages for the GitHub CLI                      82 kB/s | 2.8 kB     00:00    
2025-09-19T15:09:57.6486926Z mono-centos7-stable                             140 kB/s | 2.9 kB     00:00    
2025-09-19T15:09:58.4806590Z Package tar-2:1.34-1.amzn2023.0.4.aarch64 is already installed.
2025-09-19T15:09:58.4812849Z Package gzip-1.12-1.amzn2023.0.1.aarch64 is already installed.
2025-09-19T15:09:58.4818061Z Package which-2.21-26.amzn2023.0.2.aarch64 is already installed.
2025-09-19T15:09:58.9537936Z Dependencies resolved.
2025-09-19T15:09:58.9803787Z Nothing to do.
2025-09-19T15:09:58.9804044Z Complete!
2025-09-19T15:09:59.0564562Z ##[group]Run installation_directory="/codebuild/output/src3636003290/src/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/f3b8f284fed9acb06894fc475fffd6d035ae51f3/.setup-python-amazon-linux/uv"
2025-09-19T15:09:59.0566315Z �[36;1minstallation_directory="/codebuild/output/src3636003290/src/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/f3b8f284fed9acb06894fc475fffd6d035ae51f3/.setup-python-amazon-linux/uv"�[0m
2025-09-19T15:09:59.0567406Z �[36;1mecho "Installing uv.. installation_directory=${installation_directory}"�[0m
2025-09-19T15:09:59.0567812Z �[36;1muv_version="0.7.10"�[0m
2025-09-19T15:09:59.0568300Z �[36;1m# HOME is set to foobar till this is resolved https://github.com/astral-sh/uv/issues/6965#issuecomment-2915796022�[0m
2025-09-19T15:09:59.0569268Z �[36;1mcurl -LsSf "https://github.com/astral-sh/uv/releases/download/${uv_version}/uv-installer.sh" | HOME="foobar" UV_UNMANAGED_INSTALL="${installation_directory}" bash --login�[0m
2025-09-19T15:09:59.0570056Z �[36;1mecho "${installation_directory}" >> "${GITHUB_PATH}"�[0m
2025-09-19T15:09:59.0580409Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-09-19T15:09:59.0580741Z ##[endgroup]
2025-09-19T15:09:59.0609798Z Installing uv.. installation_directory=/codebuild/output/src3636003290/src/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/f3b8f284fed9acb06894fc475fffd6d035ae51f3/.setup-python-amazon-linux/uv
2025-09-19T15:10:00.1176865Z downloading uv 0.7.10 aarch64-unknown-linux-gnu
2025-09-19T15:10:00.4618411Z no checksums to verify
2025-09-19T15:10:00.7453128Z installing to /codebuild/output/src3636003290/src/actions-runner/_work/_actions/kishaningithub/setup-python-amazon-linux/f3b8f284fed9acb06894fc475fffd6d035ae51f3/.setup-python-amazon-linux/uv
2025-09-19T15:10:00.7681887Z   uv
2025-09-19T15:10:00.7709095Z   uvx
2025-09-19T15:10:00.7709554Z everything's installed!
2025-09-19T15:10:00.7875687Z ##[group]Run desired_python_version=$(${GITHUB_ACTION_PATH}/find-desired-python-version.sh "" ".python-version")
2025-09-19T15:10:00.7876768Z �[36;1mdesired_python_version=$(${GITHUB_ACTION_PATH}/find-desired-python-version.sh "" ".python-version")�[0m
2025-09-19T15:10:00.7877456Z �[36;1mecho "desired_python_version=${desired_python_version}" | tee -a "${GITHUB_OUTPUT}"�[0m
2025-09-19T15:10:00.7890640Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-09-19T15:10:00.7890992Z ##[endgroup]
2025-09-19T15:10:00.7959654Z desired_python_version=3.10.18
2025-09-19T15:10:00.8010595Z ##[group]Run desired_python_version="3.10.18"
2025-09-19T15:10:00.8010936Z �[36;1mdesired_python_version="3.10.18"�[0m
2025-09-19T15:10:00.8011563Z �[36;1mecho "installation_directory=${HOME}/.setup-python-amazon-linux/.python-versions/${desired_python_version}" | tee -a "${GITHUB_OUTPUT}"�[0m
2025-09-19T15:10:00.8021749Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-09-19T15:10:00.8022066Z ##[endgroup]
2025-09-19T15:10:00.8060375Z installation_directory=/root/.setup-python-amazon-linux/.python-versions/3.10.18
2025-09-19T15:10:00.8092479Z ##[group]Run installation_directory="/root/.setup-python-amazon-linux/.python-versions/3.10.18"
2025-09-19T15:10:00.8093133Z �[36;1minstallation_directory="/root/.setup-python-amazon-linux/.python-versions/3.10.18"�[0m
2025-09-19T15:10:00.8093584Z �[36;1mdesired_python_version="3.10.18"�[0m
2025-09-19T15:10:00.8093840Z �[36;1m�[0m
2025-09-19T15:10:00.8094137Z �[36;1muv venv --python "${desired_python_version}" "${installation_directory}"�[0m
2025-09-19T15:10:00.8103682Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2025-09-19T15:10:00.8103994Z ##[endgroup]
2025-09-19T15:10:02.5847369Z   × Failed to inspect Python interpreter from first executable in the search
2025-09-19T15:10:02.5856222Z   │ path at `/root/.pyenv/shims/python3.10`
2025-09-19T15:10:02.5856852Z   ╰─▶ Querying Python at `/root/.pyenv/shims/python3.10` failed with exit
2025-09-19T15:10:02.5914855Z       status exit status: 1
2025-09-19T15:10:02.5915165Z 
2025-09-19T15:10:02.5915247Z       [stderr]
2025-09-19T15:10:02.5915554Z       pyenv: version `3.10.18' is not installed (set by
2025-09-19T15:10:02.5916153Z       /codebuild/output/src3636003290/src/actions-runner/_work/get-project-config/get-project-config/.python-version)
2025-09-19T15:10:02.5916689Z 
2025-09-19T15:10:02.5926638Z ##[error]Process completed with exit code 1.
2025-09-19T15:10:02.6059211Z Post job cleanup.
2025-09-19T15:10:02.6785850Z [command]/usr/bin/git version
2025-09-19T15:10:02.6830785Z git version 2.48.1
2025-09-19T15:10:02.6859055Z Copying '/root/.gitconfig' to '/codebuild/output/src3636003290/src/actions-runner/_work/_temp/55966d49-07cd-4b9e-8662-20aee078f686/.gitconfig'
2025-09-19T15:10:02.6866375Z Temporarily overriding HOME='/codebuild/output/src3636003290/src/actions-runner/_work/_temp/55966d49-07cd-4b9e-8662-20aee078f686' before making global git config changes
2025-09-19T15:10:02.6869916Z Adding repository directory to the temporary git global config as a safe directory
2025-09-19T15:10:02.6874108Z [command]/usr/bin/git config --global --add safe.directory /codebuild/output/src3636003290/src/actions-runner/_work/get-project-config/get-project-config
2025-09-19T15:10:02.6906473Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-09-19T15:10:02.6936659Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-09-19T15:10:02.7145203Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-09-19T15:10:02.7162045Z http.https://github.com/.extraheader
2025-09-19T15:10:02.7177760Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-09-19T15:10:02.7208281Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-09-19T15:10:02.7543523Z Cleaning up orphan processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions