actions / actions/setup-python

Versioned executables (e.g., python3.13.exe) missing on Windows

未关闭
#1,079 8 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature request
主要语言
TypeScript
星标
2.2k
派生
739
平均合并
6 天 18 小时
30 天内合并 PR
1

描述

Description:
Versioned executables (e.g., python3.13.exe) are not installed on Windows while python313.dll, python-3.13.2-amd64.exe, and pip3.13.exe are installed. However, this is not the case on Linux or macOS, where versioned executables (or symlinks) are always present. This is inconvenient when using multiple versions at once.

Action version:
v5

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
I tested 3.9 and 3.13.

Repro steps:

      - name: Set up Python
        uses: actions/setup-python@v5
        with:
          python-version: |
            3.9
            3.13

Expected behavior:
Versioned executables (or symlinks) are present on all platforms.

Actual behavior:
Versioned executables (or symlinks) are missing on Windows.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在托管的 Windows runner 上使用 Python 3.9 和 3.13 运行提供的 GitHub Actions 工作流,然后检查此 action 对 Windows 安装的处理。完成的标准是:设置完成后,可以使用类似 python3.13.exe 的带版本可执行文件或符号链接,并且其行为与针对 Linux 和 macOS 描述的行为一致。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions, python, typescript
领域
ci-cd
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。