python-gdcm: Add version 3.2.6 - #2167
Merged
Merged
Conversation
Contributor
|
luhenry
force-pushed
the
port/python-gdcm
branch
2 times, most recently
from
September 21, 2026 15:44
5e0ed16 to
8675277
Compare
Build the SWIG Python bindings of GDCM (Grassroots DICOM) and the GDCM C++ libraries they wrap for riscv64, mirroring the Linux leg of upstream's wheels.yml. Rocky 10's swig replaces upstream's from-source SWIG build, and cmake/ninja come from pypi.riseproject.dev since public PyPI has no riscv64 wheel for either. Two patches add the licences of everything the wheel bundles to the glob-less [project] license-files list.
luhenry
force-pushed
the
port/python-gdcm
branch
from
September 21, 2026 15:55
8675277 to
8118989
Compare
luhenry
marked this pull request as ready for review
September 21, 2026 20:06
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.
python-gdcm3.2.6Compiles the GDCM (Grassroots DICOM) C++ libraries and their SWIG Python bindings, plus the gdcm* command-line applications the wheel installs. Upstream publishes no riscv64 wheel.
Mirrors upstream's
wheels.yml.Differs from upstream
PIP_ONLY_BINARY=cmake,ninjaagainst our registry - neither build requirement has a riscv64 wheel on PyPI.Testing
import gdcm; this also round-trips a DICOM image through the writer, the reader and the RLE, deflate, JPEG-LS and JPEG 2000 codecs, and runs the packagedgdcmdump.License: Wheel bundles GDCM (BSD-3-Clause), its vendored CharLS, Expat, libjpeg, OpenJPEG, libuuid, zlib, md5, getopt and socket++ copies, and the image's OpenSSL (Apache-2.0); upstream ships only its own licence text, so the patches add theirs.
Patches
0001-Ship-the-licences-of-the-bundled-GDCM-libraries.patch-Upstream-Status: To upstream. Without it the wheel redistributes every bundled library with no copyright notice. Not riscv64-specific.0002-Ship-the-licence-of-the-bundled-OpenSSL.patch-Upstream-Status: Inappropriate. Lists the licence this workflow stages for the OpenSSL auditwheel vendors.Built on cp311 locally (x86_64) for the rehearsal; the test above passes.
Generated by Claude Code