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 摘要。