Skip to content

bermuda: Add version 0.1.7 - #3092

Merged
riseproject-dev[bot] merged 2 commits into
mainfrom
bermuda
Oct 26, 2026
Merged

riseproject-dev[bot] merged 2 commits into
mainfrom
bermuda

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Builds the pyo3/setuptools-rust polygon/mesh triangulation extension napari uses; upstream publishes no riscv64 wheel.

Mirrors upstream's own wheels.yml build_wheels job via cibuildwheel; the rust toolchain install, test command and test groups all come from upstream's own pyproject.toml [tool.cibuildwheel] config, unchanged.

Differs from upstream

  • Adds a SETUPTOOLS_SCM_PRETEND_VERSION since this tag-less checkout has no git history for setuptools_scm to derive a version from.

Testing

  • same as upstream

License: OK

Built on cp311 locally on x86_64; 64 passed.

pyo3/setuptools-rust extension for napari's polygon/mesh triangulation
ops. Thin wrapper around upstream's own cibuildwheel config (rust
install, test command/groups already declared in pyproject.toml);
only the riscv64 manylinux image and a setuptools_scm pretend-version
(this checkout carries no tags) are added. Verified locally on x86_64:
builds and its own 64-test suite passes against the built wheel.
luhenry added a commit that referenced this pull request Oct 13, 2026
@luhenry
luhenry marked this pull request as draft October 14, 2026 11:33
Every build leg (cp312/cp313/cp314/cp314t) fails identically in seconds
with "cibuildwheel: Failed to parse enable group. Unknown enable group:
cpython-freethreading" -- cibuildwheel 4.2.0, which this repo pins,
dropped that enable option; upstream's own pyproject.toml still carries
it because it was written against their older pinned cibuildwheel
(3.4.1 at the v0.1.7 tag). The whole [tool.cibuildwheel] table is
parsed up front, so --only <id> never narrows around the bad value.

Carry the same one-line fix upstream already shipped in a later commit
(dropping the token outright, no replacement) as a patch applied right
after checkout, same mechanics as patches/pi-heif.
@luhenry
luhenry marked this pull request as ready for review October 26, 2026 08:34
@riseproject-dev
riseproject-dev Bot merged commit d338273 into main Oct 26, 2026
9 checks passed
@riseproject-dev
riseproject-dev Bot deleted the bermuda branch October 26, 2026 08:38
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.

1 participant