Repository navigation
chore(agent): move the macOS Python runtime to 3.12.16 - #1600
ioanalytica wants to merge 1 commit into
Conversation
The manifest the macOS agent installer reads still named CPython 3.12.14+20260924. python-build-standalone has published 3.12.15 (20261001) and 3.12.16 (20261110) since; nothing refreshes the manifest automatically. app/api/python_runtimes.json is rewritten by scripts/refresh_python_runtime_manifest.py and now names 3.12.16+20261110 for both macOS architectures. The two sha256 values match the release's SHA256SUMS and a hash of the downloaded archives. The refresh script itself could not run any more: the release API answers a page of 30 releases (about a thousand assets each) with HTTP 504. It now asks for pages of 10 and walks up to 30 of them, which covers the same 300 releases as before. An installed agent replaces its runtime on the next reinstall, because the recorded version no longer matches the pin.
|
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
Description
The macOS agent installer unpacks the CPython build that
app/api/python_runtimes.jsonnames. That manifest still names 3.12.14+20260924. python-build-standalone has since published 3.12.15 (release 20261001) and 3.12.16 (release 20261110), and nothing refreshes the manifest automatically.This PR runs
scripts/refresh_python_runtime_manifest.py(minor 3.12 fromdocker/runtime-base.env) and commits the result: the manifest now names3.12.16+20261110foraarch64andx86_64.The script needed one change to run at all. The release API answers a page of 30 releases with HTTP 504 (each release carries about a thousand assets;
?per_page=30failed on every try,?per_page=10answers). It now asks for pages of 10 and walks up to 30 of them, so it still reaches the same 300 releases as before.Checksums: the values the script took from the release API match the release's own
SHA256SUMSand a hash of the downloaded archives:The aarch64 build unpacks and runs:
3.12.16 (main, Nov 11 2026, 00:09:12) [Clang 23.1.3], OpenSSL 3.5.9.An installed macOS agent keeps its runtime until the next reinstall. The installer then sees that the recorded version no longer matches the pin and replaces the runtime and the virtualenv made from it.
Related Issue
No issue; tracked by the Contributor Planning board item "Dependency updates: what Dependabot and the updater workflows miss". A scheduled workflow that runs this script, like the rclone and Borg updaters, stays open on that card.
Type of Change
Testing
tests/migrations,upgraded_from)Checklist
Screenshots (if applicable)
Not applicable.
Additional Context
Not tested on a Mac running the agent; the installer path is covered by
tests/unit/test_agent_installer_darwin.py, which pins its own test versions.Note: By submitting this pull request, you agree that your contributions will be licensed under the GNU Affero General Public License v3.0 (AGPL-3.0), the same license as this project.