172 Commits
Author SHA1 Message Date
Erik Gomez ee131ea377 typo 2026-05-12 14:44:47 -05:00
Erik Gomez d01d71e461 Merge pull request #83 from macadmins/openssl-fix
Openssl fix
2026-05-12 14:36:05 -05:00
Erik Gomez 3ab1b19d91 also look for path 2026-05-12 14:35:01 -05:00
Erik Gomez 489aae7e56 add a sitecustomize 2026-05-12 14:26:09 -05:00
Erik Gomez 58b420cad8 remove other conficts 2026-05-12 13:14:07 -05:00
Erik Gomez 51eb423040 remove old dependencies 2026-05-12 13:11:26 -05:00
Erik Gomez 1e068ede06 Merge pull request #82 from macadmins/dependabot/github_actions/metcalfc/changelog-generator-0440d0932f9a0dd1cc9ecd8412830761351323bd
Bump metcalfc/changelog-generator from b794d7e4101afb6a8fe5c97eaedaf789d43b1288 to 0440d0932f9a0dd1cc9ecd8412830761351323bd
2026-05-12 13:08:22 -05:00
Erik Gomez 5793ebc6b2 Merge pull request #81 from macadmins/dependabot/github_actions/apple-actions/import-codesign-certs-5142e029c445c10ffc7149d172e540235a065466
Bump apple-actions/import-codesign-certs from b2e261033a9e248f91a9b57201e8d1e12b15a24e to 5142e029c445c10ffc7149d172e540235a065466
2026-05-12 13:07:23 -05:00
dependabot[bot] 555c378e7a Bump metcalfc/changelog-generator
Bumps [metcalfc/changelog-generator](https://github.com/metcalfc/changelog-generator) from b794d7e4101afb6a8fe5c97eaedaf789d43b1288 to 0440d0932f9a0dd1cc9ecd8412830761351323bd.
- [Release notes](https://github.com/metcalfc/changelog-generator/releases)
- [Changelog](https://github.com/metcalfc/changelog-generator/blob/main/release-notes.png)
- [Commits](https://github.com/metcalfc/changelog-generator/compare/b794d7e4101afb6a8fe5c97eaedaf789d43b1288...0440d0932f9a0dd1cc9ecd8412830761351323bd)

---
updated-dependencies:
- dependency-name: metcalfc/changelog-generator
  dependency-version: 0440d0932f9a0dd1cc9ecd8412830761351323bd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 18:05:39 +00:00
dependabot[bot] e4e16613c6 Bump apple-actions/import-codesign-certs
Bumps [apple-actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs) from b2e261033a9e248f91a9b57201e8d1e12b15a24e to 5142e029c445c10ffc7149d172e540235a065466.
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/b2e261033a9e248f91a9b57201e8d1e12b15a24e...5142e029c445c10ffc7149d172e540235a065466)

---
updated-dependencies:
- dependency-name: apple-actions/import-codesign-certs
  dependency-version: 5142e029c445c10ffc7149d172e540235a065466
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 18:05:30 +00:00
Erik Gomez 277f525ce7 Merge pull request #77 from macadmins/claude
Update all the python dependencies
2026-05-12 13:04:35 -05:00
Erik Gomez 6788370532 Merge branch 'main' into claude 2026-05-12 13:03:26 -05:00
Erik Gomez 874c152e5c Update build_python_framework_pkgs.zsh 2026-05-12 12:48:25 -05:00
Erik Gomez 2047ec4572 sign the bundled tcl/tk frameworks 2026-05-12 12:40:54 -05:00
Erik Gomez 9436e45952 add a notary tool log submision fetcher 2026-05-12 12:38:27 -05:00
Erik Gomez 373cd44f6c try to fix python 3.14 and 3.13 2026-05-12 12:31:30 -05:00
Erik Gomez c7b46856c9 remove py 3.9 and 3.10 2026-05-12 12:21:40 -05:00
Erik Gomez 9e1033ed9a Bump CI actions to actual latest stable releases
Mirroring Nudge's pins left us multiple majors behind. Bump to current:

- actions/checkout v4.1.7 → v6.0.2 (2 majors)
- actions/upload-artifact v4.3.4 → v7.0.1 (3 majors)
- apple-actions/import-codesign-certs v3.0.0 → v7.0.0 (4 majors)
- softprops/action-gh-release v0.1.15 → v3.0.0
- metcalfc/changelog-generator v4.1 → v4.7.0

apple-actions/import-codesign-certs v5.0.0 removed the -A flag during
cert import; v5.0.1 restored pkgbuild access. v7.0.0 has both fixes,
so this is safe for our two-cert + munkipkg flow.

All other v5/v6/v7 upgrades are runtime / Node version bumps with no
behavioral changes affecting our usage.
2026-05-12 12:21:40 -05:00
Erik GomezandClaude Sonnet 4.6 5f3cdae549 Modernize CI: macos-26 runner, drop pinned Xcode path, bump action pins
- runs-on: macos-13 → macos-26 (current Apple Silicon runner image)
- Drop --xcode-path arg from build invocation; script defaults to
  xcode-select -p, which on macos-26 resolves to the runner's
  default Xcode (no longer Xcode 15.2)
- actions/checkout v3.4.0 → v4.1.7
- apple-actions/import-codesign-certs v2.0.0 → v3.0.0
- actions/upload-artifact v4.6.2 → v4.3.4 (matches Nudge for
  cross-tool consistency)
- metcalfc/changelog-generator and softprops/action-gh-release
  already matched Nudge; left untouched

Pins mirror macadmins/nudge's Manual build workflow for consistency
across the maintainer's macOS toolchain.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 12:21:40 -05:00
Erik GomezandClaude Opus 4.7 bc3ba05cd1 Record cross-version validation results
All six Python versions (3.9.13, 3.10.11, 3.11.9, 3.12.10, 3.13.13,
3.14.5) now build, install, and smoke-test cleanly on Apple Silicon.
Update spec acceptance criteria from  to  and reference the test
record. Add note about the 13-package 3.9 holdback set in the
Validation Findings section.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:27 -05:00
Erik Gomez 0518f79029 tests 2026-05-12 12:21:27 -05:00
Erik GomezandClaude Opus 4.7 0614679e4e Add Python 3.9 holdbacks for 12 more packages
A broader requires_python sweep against PyPI showed that the latest
versions of black, cfgv, click, filelock, flake8-bugbear, identify,
isort, platformdirs, pre-commit, pycparser, requests, and urllib3 all
declare requires_python >= 3.10. Pip on Python 3.9 refused to resolve
the requirements file partway through; the build halted at black.

For each affected package, pin the latest 3.9-compatible release for
the < 3.10 branch and keep the current latest for >= 3.10. Verified
that 3.10, 3.11, 3.12, 3.13, 3.14 are unaffected — no packages
exclude those versions at their latest pins.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:27 -05:00
Erik GomezandClaude Opus 4.7 3f9727a848 Remove orphaned requirement_files/ directory
24 files of stale, pre-pinned versions (pyobjc 9.0.1, requests 2.31.0,
urllib3 1.26.18, etc.) that no active script or workflow referenced.
The flat top-level requirements_recommended.txt has been the only
source of truth for pip during the build; the aggregator file
(requirement_files/requirements_recommended.txt) and its 23 per-package
source files were leftovers from an abandoned "compose flat
requirements" workflow. Several files (arrow.txt, boto.txt, Sphinx.txt,
funcsigs.txt, atomicwrites.txt, etc.) were only used by the
'opinionated' flavor list already removed earlier in this branch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:27 -05:00
Erik GomezandClaude Opus 4.7 24bd176b9d Document validation findings in design spec and plan
Five things we learned during local validation that the original
docs didn't anticipate:
- PYTHON_BASEURL needs three %s slots (relocatable-python passes
  version, version, os-version)
- mkdir -m 777 doesn't apply mode to existing dirs; need explicit chmod
- --no-unsign disabled relocatable-python's own re-sign step and
  caused Apple Silicon Gatekeeper SIGKILLs at ensurepip time
- Signed pkg must move to outputs/ before cleanup() runs
- pyobjc 12.1 requires Python >= 3.10; 3.9 needs holdback to 11.1

Also confirmed all upstream SHAs (relocatable-python, munki-pkg) and
all 37 Python package pins are at latest available as of 2026-05-11.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:27 -05:00
Erik Gomez c06e814a4b Mark 3.9 and 3.10 as final releases; switch to long-flag script invocation 2026-05-12 12:21:27 -05:00
Erik Gomez 1f9922e5b8 Add Python 3.14.5 build workflow 2026-05-12 12:21:27 -05:00
Erik Gomez 39c591a2df Bump 3.11/3.12/3.13 to latest patches; switch to long-flag script invocation 2026-05-12 12:21:27 -05:00
Erik Gomez 982881aa74 Enable Dependabot for GitHub Actions 2026-05-12 12:21:27 -05:00
Erik GomezandClaude Opus 4.7 7773030dd3 Drop --no-unsign and bump RP_SHA to 8ee72fe
The --no-unsign flag was disabling relocatable-python's own
fix_broken_signatures step (locallibs/fix.py), which ad-hoc re-signs
every binary modified by install_name_tool before ensurepip runs.
That's the exact code path needed to satisfy Apple Silicon Gatekeeper.

The flag's stated purpose ('don't touch the python.org signature') was
never achievable — install_name_tool invalidates the signature whether
you tell relocatable-python to handle it or not. Keeping --no-unsign
just left the binary in a broken signed state, which Gatekeeper SIGKILLs.

Bumping RP_SHA to 8ee72fe simultaneously, since the prior pin
(fb4dd9b) had the same code path and was only kept while investigating.
The newer SHA additionally sets CPPFLAGS for pip, useful for packages
with native extensions.

Closes the local equivalent of gregneagle/relocatable-python#32 for our
build pipeline.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Opus 4.7 10a76b1e0b Revert RP_SHA to fb4dd9b (last known-good for Apple Silicon)
The newer relocatable-python commit 8ee72fe (Oct 2024, adds symlink
path handling) causes ensurepip to die with SIGKILL on Apple Silicon
during the framework build: install_name_tool invalidates the
binary's code signature, and ensurepip runs before any re-sign step,
so Gatekeeper kills the process.

A prior bump attempt was already reverted in this repo (commit d8db8a2,
PR #67) — sticking with fb4dd9b until upstream addresses the
ad-hoc-resign-before-ensurepip flow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Opus 4.7 700848e195 Force writable perms on existing FRAMEWORKDIR
mkdir -m 777 only applies the mode to newly created directories.
If /Library/ManagedFrameworks/Python already exists from a prior
install with stricter perms, the un-sudo'd relocatable-python
tool fails with 'Permission denied' when writing the framework.
Add an explicit chmod after mkdir.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Sonnet 4.6 73f524e279 Bump Python package pins to latest with cp313 arm64 wheels
All 37 packages in requirements_recommended.txt updated to their
latest versions confirmed to ship cp313-compatible macOS wheels
(arm64 direct or universal2) or pure-Python wheels for Python 3.13.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Opus 4.7 91480efece Fix PYTHON_BASEURL format string slot count
The refactor baked 'macos11' into the URL as a literal, leaving only
two %s slots. relocatable-python's locallibs/get.py expects three:
(version, version, os-version). The mismatch raised
'TypeError: not all arguments converted during string formatting'
during framework download.

Restore the third %s; --os-version 11 is already passed to the
make_relocatable_python_framework.py invocation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik Gomez 560b0b4969 Update README for Apple Silicon, single-flavor build 2026-05-12 12:21:26 -05:00
Erik Gomez e4ea005ddd Remove minimal and no_customization build flavors 2026-05-12 12:21:26 -05:00
Erik Gomez 3525f58f97 Drop --no-binary directives (use prebuilt arm64 wheels) 2026-05-12 12:21:26 -05:00
Erik Gomez 85599c237f Move signed pkg to outputs/ before notarization
Fixes regression where a signed-but-unnotarized .pkg was built into
the staging dir and then deleted by cleanup() without ever reaching
outputs/. The pre-refactor script moved the .pkg unconditionally
after munkipkg succeeded; the refactor lost that mv when it was
consolidated into notarize_and_staple().
2026-05-12 12:21:26 -05:00
Erik Gomez 24bebe07a6 Refactor build script for Apple Silicon
- Drop universal2 enforcement; arm64 wheels used directly
- Single 'recommended' flavor; remove minimal/no_customization branches
- Long-flag arguments; derive major version from full version
- Functions: parse_args, prepare_build_dirs, download_tool,
  build_framework, codesign_framework, build_pkg,
  notarize_and_staple, zip_framework, cleanup
- Collapse signed/ad-hoc codesign duplication; fixes latent path bug
- Bump relocatable-python and munki-pkg SHAs
- Gate CI-only steps (brew remove, xcode-select) on $CI
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Opus 4.7 31813eef39 Add Apple Silicon modernization implementation plan
12 tasks covering Phase 1 (script rewrite, --no-binary removal,
flavor deletion, README, local validation on 3.13.13 and 3.14.5)
and Phase 2 (patch bumps, 3.14 enablement, 3.9/3.10 final-release
notes, pip pin sweep, Dependabot, manual release dispatches).

Phase 3 (CI consolidation, runner migration, action bumps) is
out of scope; Task 7 includes a stopgap so existing workflows keep
calling the refactored script.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik GomezandClaude Opus 4.7 b060a58130 Add Apple Silicon modernization design spec
Phases 1 and 2: refactor build script to drop universal2 enforcement
and run natively on Apple Silicon, bump upstream SHAs and Python
versions, add 3.14, final-release 3.9 and 3.10. CI/CD overhaul
deferred to Phase 3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 12:21:26 -05:00
Erik Gomez 4e70c3ec77 fix yaml 2026-05-12 12:21:13 -05:00
Erik Gomez 4313548774 bump rest to macos 14 to build final intel releases 2026-05-12 12:07:34 -05:00
Erik Gomez 90f098580d pytokens as well 2026-05-12 11:39:09 -05:00
Erik Gomez fe7c2ff9a6 Add no-binary option for mypy-extensions 2026-05-12 11:18:20 -05:00
Erik Gomez 565db7fee9 Update build environment to macOS 14 2026-05-12 11:02:31 -05:00
Erik Gomez c39db790f6 Update macOS version for build workflow 2026-05-12 11:02:19 -05:00
Erik Gomez 553880e3d9 cherry pick python updates for last universal release 2026-05-12 10:54:52 -05:00
Erik Gomez 59e63bc220 Update requirements_recommended.txt 2025-06-25 10:01:30 -05:00
Nate Walck d8db8a2c54 Revert Relocatable Python hash bump (#67)
Revert RP hash to see if it fixes the build
2025-06-25 09:41:15 -05:00
Allister Banks 9c344405f3 Add Python 3.13 ci job and update actions
* 2025 updates try 2

no _logic_ changes, just version bumps and 3.13 support/default - some commented-out _potential_ fixes and explanatory text

* copy pasta

3.13

* undo commented-outs

revorted

* moar copy-pasta

😅
2025-06-25 10:28:05 -04:00