pkg.soopen package index

brew / 排名 2845

使用 Homebrew, dnf 安装 python-freethreading

查看 python-freethreading 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install python-freethreading

local Homebrew formula metadata

Linux

Fedora dnf已验证 · 92%
sudo dnf install python3.15-freethreading

Fedora Rawhide package metadata · python3.15-freethreading · 来源: dl.fedoraproject.org

概览

软件包摘要

Interpreted, interactive, object-oriented programming language

命令和别名

  • idle3.14t
  • pip3.14t
  • pydoc3.14t
  • python3.14t
  • python3.14t-config
  • wheel3.14t

历史

项目历史与用法

Python Free-Threading is the CPython build that can run with the global interpreter lock disabled, allowing Python threads to execute bytecode in parallel across CPU cores.

项目历史

Efforts to remove or reduce the GIL predate PEP 703, including Greg Stein's 1996 patch, python-safethread, PyParallel, and Gilectomy. These experiments established the long-running interest in parallel Python execution but exposed substantial compatibility and performance costs.

Sam Gross created PEP 703 in 2023 to make the GIL optional through a --disable-gil build. The Python Steering Council accepted it with a staged, reversible rollout, and CPython 3.13 delivered the first public free-threaded build.

采用历史

Free-threaded CPython entered the public release line as an optional build in Python 3.13. Adoption initially centered on experimentation, scientific and numeric workloads, and work by native-extension maintainers to make packages safe under parallel execution.

The rollout is deliberately gradual. Extension modules must explicitly declare support or the interpreter may re-enable the GIL, so adoption depends on separately built wheels, extension audits, and ecosystem compatibility work.

使用方式

Use the t-suffixed interpreter for multithreaded workloads, compatibility testing, CI, or native-extension porting. Check sys._is_gil_enabled() when runtime behavior matters.

Free-threaded execution does not automatically accelerate every program. Unsupported extension modules may re-enable the GIL, and code must still use synchronization for shared mutable state.

PYTHON_GIL or the -X gil option can control the GIL at runtime in a free-threaded build; these are runtime controls rather than configuration files.

为什么软件包爱好者会关心

Free-threaded CPython introduces a distinct interpreter and extension ABI while preserving the Python language and most user-facing behavior. This makes it a consequential packaging transition: maintainers must test native code, publish compatible artifacts, and understand when an import silently restores the GIL.

Homebrew's separate formula makes the experimental or supported free-threaded runtime usable beside ordinary CPython, using t-suffixed executables so developers can test compatibility without replacing their default interpreter.

时间线

  • 1996: Greg Stein published an early free-threading patch for CPython.
  • 2023: PEP 703 was created and accepted for a gradual rollout.
  • 2024: Python 3.13 introduced an optional free-threaded CPython build.
  • 2025: Python 3.14 advanced free-threading beyond its initial experimental phase.

Related projects

  • The standard GIL-enabled CPython build remains the compatibility-oriented alternative.
  • PEP 703 specifies the optional-GIL implementation and rollout.
  • Native extension projects must use the free-threading C API support and declare whether they can operate without the GIL.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 6 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
idle3.14tcli全局可执行文件
pip3.14tcli全局可执行文件
pydoc3.14tcli全局可执行文件
python3.14tcli全局可执行文件
python3.14t-configcli全局可执行文件
wheel3.14tcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本3.15.2
管理器更新时间2026-10-27
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.python.org/

安装元数据

软件包元数据

软件包键brew:python-freethreading
版本3.15.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/python-freethreading
主页https://www.python.org/
上游文档https://www.python.org/
许可证Python-2.0
源码归档https://www.python.org/ftp/python/3.15.2/Python-3.15.2.tgz
最后更新2026-10-27T01:32:57Z
Pulseupdated
依赖ca-certificates, mpdecimal, openssl@4, sqlite, xz, zstd
构建依赖pkgconf
macOS 提供的库bzip2, expat, libedit, libffi, ncurses
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项Python has been installed as $HOMEBREW_PREFIX/bin/python3.15t See: https://docs.brew.sh/Language-Runtimes-and-Packages#python

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepython-freethreading
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

dnf95%

python3.15-freethreading 3.15.0~rc1-1.fc45

Free Threading (PEP 703) version of the Python interpreter

https://www.python.org/

sudo dnf install python3.15-freethreading
  • License: Python-2.0.1
  • Category: Unspecified
  • Architecture: i686
  • Source Package: python3.15
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Python Freethreading
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3.15-freethreading from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation