Skip to content

Python

This section is about the Python interpreter to be used at runtime.

Version

The version of Python to be used at runtime, from astral-sh/python-build-standalone.

project.python.version = "3.13"
pyaket python --version 3.13
export PYAKET_PYTHON_VERSION="3.13"
  • Note: Specific versions support, such as 3.10.17, depends on the uv version in use, as the URLs are hard-coded in their binary. For example, 3.13.3 was added in v0.6.14.

  • Please chose carefully to ensure all your wheels and dependencies are compatible with the target version. Users may not have compilers, headers, git for sdists.


Bundle

Not implemented #2

Whether to embed the python distribution in the executable, instead of a runtime download.

project.python.bundle = False
pyaket python --bundle
export PYAKET_PYTHON_BUNDLE="0"