这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Maegereg
Copy link
Contributor

@Maegereg Maegereg commented Sep 9, 2025

A couple changes:

  • Make sure we're pulling the .dylib c binaries into the wheel (and not getting any avoidable copies)
  • Set the MACOS_DEPLOYMENT_TARGET environment variable so we produce binaries that are compatible with many mac systems.
  • Edit the wheel name so the os version is correct (11_0 instead of 11.0).

Also I incidentally ran a linter on build.py.

@Maegereg Maegereg merged commit 8aa98f4 into tmager/fix-wheel-tags Sep 9, 2025
3 checks passed
@Maegereg Maegereg deleted the dasm/build-fixes branch September 9, 2025 22:09
tmager pushed a commit that referenced this pull request Sep 27, 2025
* Tweaks for getting cibuildwheel working on a mac.

* Make environment variable mac-specific.
github-merge-queue bot pushed a commit that referenced this pull request Sep 27, 2025
* Switch back to using cibuildwheel for builds, fix wheel tags

Previously, wheels were tagged as `py3-none-any`, but this was incorrect: the
wheels are platform-dependent, just not Python-ABI-dependent. This changes them
to be tagged as `py3-none-<platform>` through some options on Hatchling's custom
build hooks, and re-introduces the custom build function using `cibuildwheel` to
ensure that the build environment is correct.

* Tweaks for getting cibuildwheel working on a mac (#26)

* Tweaks for getting cibuildwheel working on a mac.

* Make environment variable mac-specific.

* Remove unneeded copies of compiled libraries from Linux wheels

* Ignore linkcheck for gmplib.org

---------

Co-authored-by: dasm <maegereg@gmail.com>
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