Open
Conversation
Replace the split setuptools configuration (pyproject.toml + setup.cfg) with a unified hatchling-based setup. This adds a [build-system] section pointing to hatchling and a build hook (hatch_build.py) that marks wheels as platform-specific since we bundle native shared libraries. Hatchling includes all files in the package directory by default, which also fixes the missing *.dll glob that setup.cfg had for Windows. Bump requires-python from >=3.6 to >=3.8 as 3.6/3.7 are long EOL. Co-Authored-By: HAL 9000
…ripts Add `python_build_wheel.sh` which generates bindings and builds a platform-specific wheel via `uv build`, and `python_publish_package.sh` which publishes collected wheels via `uv publish`. The intended workflow is to run the build script on each target platform (Linux, macOS), collect the wheels, and then publish them in one go. Co-Authored-By: HAL 9000
|
I've assigned @valentinewallace as a reviewer! |
Replace `actions/setup-python` with `astral-sh/setup-uv` and use `uv run` to run tests. Co-Authored-By: HAL 9000
f078c92 to
0a7ae2b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We switch to
uv, which looks a lot saner than previous python tooling, and might allow us to finally publish packages.