Free-threaded python3.13t interpreters are not discovered on Linux
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
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:
- In a Fedora 42 container, run
dnf install -y python3 python3.13-freethreading. - Run
pet find --json. - Verify
/usr/bin/python3.13tis reported (LinuxGlobal, prefix/usr) in addition to/usr/bin/python. - Verify
/usr/bin/python3.13t-configis not reported. - On Windows with the Python install manager's 3.14 and 3.14t, verify
pet findlists the same environments as before.
Found by Copilot
- 主要语言
- Rust
- 星标
- 207
- 派生
- 45
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 18
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/python-environment-tools 的其他 Issue
-
pet server logs warnings as ANSI-colored stderr, shown as errors可能已有人在做 @karthiknadig 于 1 天前认领。 未关闭bug
microsoft/python-environment-tools#571 · 已指派 1 人 ·
维护者通常 1 天内回复
-
uv's Windows launchers in ~/.local/bin are reported as duplicate global Pythons可能已有人在做 @karthiknadig 于 1 天前认领。 未关闭bug
microsoft/python-environment-tools#567 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
microsoft/python-environment-tools#537 ·
维护者通常 1 天内回复
-
debt
难度 5/5 一周以上 新手友好度 25/100
microsoft/python-environment-tools#538 · 1 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
microsoft/python-environment-tools#539 ·
维护者通常 1 天内回复
查看 microsoft/python-environment-tools 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
wardian-app/Wardian#1603 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
bug
难度 1/5 1-3 小时 新手友好度 72/100
peteonrails/voxtype#844 ·
维护者通常 1 天内回复
-
feature
难度 1/5 1 小时以内 新手友好度 85/100
维护者通常 4 天内回复