Skip to content

build: move macOS and Linux to Python 3.15 - #128

Merged
mcoliver merged 3 commits into
mainfrom
build/python-3.15
Oct 14, 2026
Merged

mcoliver merged 3 commits into
mainfrom
build/python-3.15

Conversation

@mcoliver

@mcoliver mcoliver commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Homebrew rebuilt pyside 6.12.0 as 6.12.0_1, and it now depends on python@3.15 only. PySide6 can't be imported from python@3.14 any more, so py-interp fails on macOS and Linux (#126 and main). This also affects people running released versions who brew upgrade, since the cask depends on Homebrew's pyside.

This moves macOS and Linux to python@3.15:

  • build.sh PYTHON_VERSION
  • the Homebrew install lines in branch-build.yml, dev-build.yml and release.yml (python@3.15, python-tk@3.15)
  • deploy/dependencies.json and the launcher's built-in list. Released launchers download dependencies.json from main, but it only checks that the formula is installed, and pyside installs python@3.15 anyway.
  • README, AGENTS.md and a comment in sanitize_homebrew_links.py

Windows keeps the Python 3.14 that ships in OpenUTV Dependencies. The lint and docs jobs keep setup-python 3.14.

Python packages on 3.15

Checked with uv pip compile --python-version 3.15 --only-binary :all: for macOS arm64, Linux x86_64 and Windows x64.

Package 3.15 wheel
certifi, cryptography, cffi, nanobind, numpy, packaging, pydantic, pydantic-core, PyOpenGL, requests, charset-normalizer, six yes
opencolorio 2.6.0 no (wheels for cp310–cp314), builds from the sdist
PyOpenGL_accelerate 3.1.10 no (wheels up to cp314), builds from the sdist
opentimelineio (our fork) always built from source

This PR's builds show whether the two source builds succeed on CI.

Testing Done

  • CI on this PR.

Homebrew rebuilt pyside 6.12.0 (6.12.0_1) for python@3.15 only, so
PySide6 can no longer be imported from python@3.14 and py-interp fails
on macOS and Linux. Build and run against python@3.15 instead.

Windows keeps the Python 3.14 that ships in OpenUTV Dependencies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver

Copy link
Copy Markdown
Collaborator Author

macOS failed check_macos_min_version.py: PyOpenGL_accelerate, compiled from source because it has no 3.15 wheel, targeted macOS 26.0. Homebrew's Python sets no deployment target, so the compiler uses the host's. The new commit exports MACOSX_DEPLOYMENT_TARGET (15.0) before installing requirements. Locally, the same source build with Homebrew Python gives minos 27.0 without it and 15.0 with it.

… macOS

opencolorio and PyOpenGL_accelerate have no Python 3.15 wheels yet, so
they are compiled from source. Homebrew's Python sets no deployment
target, so they targeted the runner's macOS (26.0) and failed
check_macos_min_version.py. Export MACOSX_DEPLOYMENT_TARGET from
CMAKE_OSX_DEPLOYMENT_TARGET before installing requirements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
…irements

build.sh installs requirements.txt into its venv before CMake runs, so
PyOpenGL_accelerate was compiled there for the runner's macOS (26.0),
and the CMake staging step reused that build. Export
MACOSX_DEPLOYMENT_TARGET from CMakeLists.txt's CMAKE_OSX_DEPLOYMENT_TARGET
before setting up the venv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Signed-off-by: Michael Oliver <mcoliver@gmail.com>
@mcoliver
mcoliver merged commit 2e43cad into main Oct 14, 2026
16 checks passed
@mcoliver
mcoliver deleted the build/python-3.15 branch October 14, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant