setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

Python 3.10.11 installation fails on Windows 11 Pro self-hosted runner.

Open jnomhgn opened this issue 1 month ago • 2 comments

Description: Python 3.10.11 installation fails on Windows 11 Pro self-hosted runner.

Action version: V6

Platform:

  • [ ] Ubuntu
  • [ ] macOS
  • [x] Windows

Runner type:

  • [ ] Hosted
  • [x] Self-hosted

Tools version:

  • 3.10.11

Repro steps:
This simple workflow fails.

name: Print setup-python environment (self-hosted Windows)

on:
  push:
    branches:
      - main

jobs:
  setup-python-test:
    runs-on: self-hosted
    steps:
    - name: Set up Python
      uses: actions/setup-python@v6
      with:
        python-version: 3.10.11 # Does not work.
        # python-version: 3.11.9 # Works
        # python-version: 3.12.10 # Works
        # python-version: 3.13.11 # Works
        # python-version: 3.14.2 # Works.

Expected behavior: Python should be installed.

Actual behavior: Python is downloaded and extracted successfully, but installation fails with the error message "Error happened during Python installation".

Given that Python version 3.10.11 is downloaded and extracted successfully, I assume that 3.10.11 is still supported -- it is also listed in the versions-manifest.json. And since the newer versions work, I assume that I have followed the documentation correctly. I have tried clearing any existing toolcache as suggested in #1060 .

#619 May also be related.

jnomhgn avatar Dec 08 '25 16:12 jnomhgn