Skip to content

Conversation

rhelmot
Copy link
Collaborator

@rhelmot rhelmot commented Aug 27, 2024

The new best-practices way of building a python package looks like this:

  • use python -m build to generate wheels
  • use auditwheel repair to verify that those wheels are conformant to symbol versioning standards and are tagged correctly

To this end, I was able to simplify the python bindings build substantially. This involved making some upstream changes to auditwheel, which is generally not very happy about auditing cross builds, but it was done and my PR is pending. The "most best-practices" way of doing cross builds is to use a full container image for the target architecture and using binfmt_misc + qemu-user to perform the build and audit, but I don't think this is possible on azure.

@NikolajBjorner NikolajBjorner merged commit e1f1d67 into master Aug 28, 2024
23 of 26 checks passed
@NikolajBjorner
Copy link
Contributor

I removed a line that includes uploading to an audit wheel and copied part into nightly.yml where I can create local artifacts

arbipher pushed a commit to arbipher/z3 that referenced this pull request Apr 17, 2025
* Simplify/modernize python packaging

* Modify azure CI to utilize new python packaging
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.

2 participants