Skip to content

Add riscv64 wheel build for pyjoulescope-driver - #2552

Merged
luhenry merged 1 commit into
mainfrom
pyjoulescope-driver
Sep 30, 2026
Merged

luhenry merged 1 commit into
mainfrom
pyjoulescope-driver

Conversation

@luhenry

@luhenry luhenry commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Compiles the Cython binding extension over the Joulescope C driver, its bundled libusb, miniz and tinyprintf. Upstream publishes no riscv64 wheel.

Mirrors upstream's packaging.yml.

Differs from upstream

  • systemd-devel instead of libudev-devel - Rocky 10 has no libudev-devel package
  • gpl_sources job added - the wheel vendors libudev and libcap from the build image

Matrix: cp312/cp313/cp314 - matches upstream, which builds no cp314t.

Testing

  • same as upstream

License: Wheel bundles libusb and libudev (LGPL-2.1), libcap, miniz (MIT) and tinyprintf (BSD-3-Clause); upstream ships no licence text for them, so the build adds it.

Patches

  • 0001-Ship-the-licences-of-the-bundled-third-party-code-in-the-wheel.patch - To upstream [not yet submitted]. Without it the explicit license_files ships only LICENSE.txt. Reproduces on x86.

Test counts: pending the first CI run.

Build pyjoulescope-driver 2.4.1 for manylinux_riscv64 (cp312, cp313,
cp314), mirroring upstream's packaging.yml: embed the JS320 firmware,
build the sdist, then build and test the wheels from it with
cibuildwheel.

On Rocky 10 libudev comes from systemd-devel rather than
libudev-devel. A patch widens setup.cfg's license_files so the wheel
carries the licences of the bundled libusb, miniz and tinyprintf and
of the libudev closure auditwheel vendors; a gpl_sources job publishes
the matching source RPMs.
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-30 20:58 UTC

@luhenry
luhenry marked this pull request as ready for review September 30, 2026 20:49
@luhenry
luhenry merged commit 5f52618 into main Sep 30, 2026
15 of 16 checks passed
@luhenry
luhenry deleted the pyjoulescope-driver branch September 30, 2026 20:49
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