Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Free-threaded python3.13t interpreters are not discovered on Linux

未关闭
#569 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@karthiknadig 已经在做这个了。

开始于 2026年10月5日。

  • #570 来自 @karthiknadig —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

bug

Problem: Free-threaded interpreters that are installed only under a pythonX.Yt name are never discovered. Fedora's python3.13-freethreading package installs /usr/bin/python3.13t (Py_GIL_DISABLED=1, sys.prefix=/usr), and it does not appear in pet find or in the VS Code interpreter list. The executable-name patterns accept python3.13 but not the t suffix. pet resolve /usr/bin/python3.13t works.

Environment: Fedora 42 container, PET main @ 4ca7c03.

Before:

$ ls /usr/bin/python*
/usr/bin/python -> ./python3
/usr/bin/python3 -> python3.13
/usr/bin/python3.13
/usr/bin/python3.13t
/usr/bin/python3.13t-config
/usr/bin/python3.13t-x86_64-config
$ /usr/bin/python3.13t -c "import sys, sysconfig; print(sys.prefix, sysconfig.get_config_var('Py_GIL_DISABLED'))"
/usr 1
$ pet find --json   # summarized
  kind=LinuxGlobal version=3.13.13.final.0 exe=/usr/bin/python prefix=/usr
      symlinks: /usr/bin/python, /usr/bin/python3, /usr/bin/python3.13

Steps to verify fix:

  1. In a Fedora 42 container, run dnf install -y python3 python3.13-freethreading.
  2. Run pet find --json.
  3. Verify /usr/bin/python3.13t is reported (LinuxGlobal, prefix /usr) in addition to /usr/bin/python.
  4. Verify /usr/bin/python3.13t-config is not reported.
  5. On Windows with the Python install manager's 3.14 and 3.14t, verify pet find lists the same environments as before.

Found by Copilot

主要语言
Rust
星标
207
派生
45
平均合并
1 天 4 小时
30 天内合并 PR
18

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

microsoft/python-environment-tools 的其他 Issue

查看 microsoft/python-environment-tools 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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