Skip to content

@W-24210682: Fix macOS native artifact deployment target - #185

Merged
mlischetti merged 2 commits into
masterfrom
fix/macos-11-native-release
Sep 16, 2026
Merged

mlischetti merged 2 commits into
masterfrom
fix/macos-11-native-release

Conversation

@mlischetti

@mlischetti mlischetti commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin macOS release and main CI builds to macos-15 to prevent runner-version drift.
  • Set the macOS deployment target to 11.0.
  • Force GraalVM’s link step for both dw and dwlib to declare macOS 11.0 as the minimum supported OS.
  • Make Python wheel tags deterministic and aligned with the native artifact contract:
    • macosx_11_0_arm64
    • macosx_11_0_x86_64
  • Validate both native artifacts with otool in release and main CI.

Verification

  • python3 -m pytest native-lib/python/tests/unit -q — 181 passed.
  • Rebuilt dw and dwlib.dylib; both report minos 11.0.
  • Built dataweave_native-100.100.100-py3-none-macosx_11_0_arm64.whl.
  • Installed the rebuilt wheel on macOS 15 and ran DataWeave 2 + 2 successfully.
  • Ran the rebuilt native CLI: dw run '2 + 2'4.

Context

macos-latest moved to macOS 26. The Python wheel tag was derived from the CI runner OS, and GraalVM’s native link step did not honor MACOSX_DEPLOYMENT_TARGET by itself. This caused v2.12.0 macOS artifacts to require macOS 26
despite the intended macOS 11 compatibility target.

@mlischetti
mlischetti requested a review from a team as a code owner September 16, 2026 17:58
@mlischetti mlischetti changed the title Fix/macos 11 native release Fix macOS native artifact deployment target Sep 16, 2026
@mlischetti mlischetti changed the title Fix macOS native artifact deployment target @W-24210682: Fix macOS native artifact deployment target Sep 16, 2026
@mlischetti
mlischetti merged commit 40d3094 into master Sep 16, 2026
5 checks passed
@mlischetti
mlischetti deleted the fix/macos-11-native-release branch September 16, 2026 19:16
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.

3 participants