apotocki/python 3.14.10 (r1, apple)
- Library
- python
- Variant
- apple, target apple
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/python/3.14/apple/ - Recipe SHA-256
a21f427236fca3d6f5ad8d669ba3ab2d7e831b2081a6ac00c342132a0b6c066a
Recipe files changed
Inputs
| source.sha256 | de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032 |
|---|---|
| source.url | https://www.python.org/ftp/python/3.14.10/Python-3.14.10.tar.xz |
| resource macos_arm64.sha256 | 30a18bcb9ab75e485b4bf4e5d783dde165571e7e42c56dff47a2d2c5345183a4 |
| resource macos_arm64.url | https://github.com/astral-sh/python-build-standalone/releases/download/20261026/cpython-3.14.10%2B20261026-aarch64-apple-darwin-install_only.tar.gz |
| resource macos_x86_64.sha256 | 01cedae5d4a66ac570e13cb35fa570d0e79ba8e9affd4518a5d85b6c2b98ff10 |
| resource macos_x86_64.url | https://github.com/astral-sh/python-build-standalone/releases/download/20261026/cpython-3.14.10%2B20261026-x86_64-apple-darwin-install_only.tar.gz |
Platforms
macosx
Recipe files
build.lua
-- The interpreter of the build machine, a python-build-standalone build copied as it is laid out: bin/python3 beside
-- lib/python3.14.
function build(slice, options, deps)
local r = slice.resources
local standalone = r.macos_arm64 or r.macos_x86_64
if not standalone then error("no prebuilt Python for this build machine") end
for _, dir in ipairs{ "bin", "lib" } do
otok.copy(standalone .. "/" .. dir, slice.prefix .. "/" .. dir)
end
return { programs = { python = slice.prefix .. "/bin/python3" } }
end
recipe.toml
# The otok recipe of Python (https://github.com/apotocki/otok): the python program for the build scripts of other
# recipes, which name it as their toolchain (`python = { default-recipe = "apotocki/python" }`), on macOS: the
# install_only build of python-build-standalone of the build machine (a resource per architecture, fetched on that
# machine only). It has no pip packages: the standard library only. The source archive carries the license.
[recipe]
api = 1
library = "python"
name = "python"
version = "3.14.10"
revision = 1
license = "PSF-2.0"
license-files = ["LICENSE"]
homepage = "https://www.python.org"
description = "Python, the interpreter, prebuilt for the build machine."
keywords = ["python", "interpreter", "tool"]
[tool]
programs = ["python"]
[source]
url = "https://www.python.org/ftp/python/3.14.10/Python-3.14.10.tar.xz"
sha256 = "de414a57119abef52784d8993e341d53aed635fc2b05c2607d9f98a2c5b72032"
[[resource]]
name = "macos_arm64"
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20261026/cpython-3.14.10%2B20261026-aarch64-apple-darwin-install_only.tar.gz"
sha256 = "30a18bcb9ab75e485b4bf4e5d783dde165571e7e42c56dff47a2d2c5345183a4"
when = { host = ["macos-arm64"] }
[[resource]]
name = "macos_x86_64"
url = "https://github.com/astral-sh/python-build-standalone/releases/download/20261026/cpython-3.14.10%2B20261026-x86_64-apple-darwin-install_only.tar.gz"
sha256 = "01cedae5d4a66ac570e13cb35fa570d0e79ba8e9affd4518a5d85b6c2b98ff10"
when = { host = ["macos-x86_64"] }
[platforms]
supported = ["macosx"]
build-on = ["macos/xcode"]