Bug 2437969 - python3-freethreading should provide /usr/bin/python3t
Summary: python3-freethreading should provide /usr/bin/python3t
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.14
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Python Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-09 12:58 UTC by Neal Gompa
Modified: 2026-03-18 13:17 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-03-18 13:17:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Neal Gompa 2026-02-09 12:58:51 UTC
Currently, the system python implementation does not provide a "system" Python pointer to the freethreading version of the interpreter. Please add this to make it easier for people to use it.

Reproducible: Always

Comment 1 Miro Hrončok 2026-02-09 14:29:28 UTC
There is no python3-freethreading, hence there is no /usr/bin/python3t and there is no "system" freethreading interpreter.

python3.14-freethreading is another, non-system Python interpreter, same as python3.15-freethreading.

Comment 2 Neal Gompa 2026-02-10 08:12:40 UTC
Yes there is? Sure it's only a provides and not the actual package name, but it's there.

On my Fedora 43 system, "dnf install python3-freethreading" pulls in python3.14-freethreading. I'm not sure why it doesn't follow the convention that we used for the python3-debug package, but saying there's no "system freethreading python interpreter" is at least wrong on a basic level, just like how we have a system Python "debug" interpreter too.

Comment 3 Miro Hrončok 2026-02-10 08:40:15 UTC
So the python3-freethreading Provide is actually an oversight based on automatic provides generators, sigh.

The difference between the system Python debug interpreter (which we DO have) is that the debug interpreter shares a lot of things with the system interpreter (e.g., pure Python standard library, or sys.path). If you install python3-foo, you can import it from the Python debug interpreter.

Contrary to that, the freethreding interpeter is "isolated" and has nothing in common with the system interpreter, sans the major version and the fact that we build it from the same SRPM to make our work simpler. You can even install python3.14-freethreding without python3 or install a different patch version. If you install python3-foo, you cannot import it from the freethreading Python interpreter, same way you cannot import it from python3.12.

Does that explain the differences?

Comment 4 Neal Gompa 2026-02-16 13:43:32 UTC
So it doesn't use the same python sitelib and sitearch path as the regular interpreter either?

Comment 5 Ben Beasley 2026-02-16 14:32:27 UTC
(In reply to Neal Gompa from comment #4)
> So it doesn't use the same python sitelib and sitearch path as the regular
> interpreter either?

Right, it uses e.g. /usr/lib/python3.14t and /usr/lib64/python3.14t.

Comment 6 Miro Hrončok 2026-03-18 13:17:37 UTC
It has been a month without more discussion, so I am closing this now. Feel free to discuss this on the Fedora Python devel mailing list.


Note You need to log in before you can comment on or make changes to this bug.