Skip to content

Commit

Permalink
Attempt to fix cross-compilation on arm64 macos (#192)
Browse files Browse the repository at this point in the history
* Attempt to fix cross-compilation on arm64 macos

* old macos?

* New macos?

* Add changelog
  • Loading branch information
Cadair authored Jan 20, 2025
1 parent bb67b61 commit b01d8a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/192.breaking.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The minimum supported version for macos binaries is now Sierra (10.12).
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ environment = {"PATH" = "$PATH:$HOME/.cargo/bin"}
before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y"

[tool.cibuildwheel.macos]
before-all = "rustup target add aarch64-apple-darwin"
environment = {"MACOSX_DEPLOYMENT_TARGET" = "10.12"}
before-all = "rustup target add aarch64-apple-darwin; rustup target add x86_64-apple-darwin"

[tool.setuptools_scm]
write_to = "streamtracer/version.py"
Expand Down

0 comments on commit b01d8a1

Please sign in to comment.