Skip to content

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

@jnomhgn

Description

@jnomhgn

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

Action version:
V6

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions