ssh2-python: add build-ssh2-python.yml for riscv64 wheels - #1231
Merged
Conversation
* **Package**: `ssh2-python` * **Version**: `1.2.0.post1` * **Source**: https://github.com/ParallelSSH/ssh2-python * **Docs**: https://parallel-ssh.org Cython bindings for the libssh2 C library, built from the vendored `libssh2/` tree against system OpenSSL. Upstream publishes no riscv64 wheel. Mirrors [upstream's `build-wheels.sh`](https://github.com/ParallelSSH/ssh2-python/blob/1.2.0.post1/ci/build-wheels.sh). **Differs from upstream** - Skips upstream's from-source OpenSSL 3.4.0 build - Rocky 10's `openssl-devel` is already current, and a source build fails on riscv64 (no `FindBin.pm`). **Testing** - Runs upstream's `tests/` pytest suite against the wheel; upstream's own manylinux script only does an import sanity check. **License**: Wheel bundles libssh2 (BSD-3-Clause, vendored and built from source) and OpenSSL (Apache-2.0, from the build image); upstream ships no licence text for either, so the build adds both. **Patches** - `0001-Widen-license-files-to-cover-bundled-third-party-lic.patch` - To upstream. Without it setuptools' explicit `license_files` list drops the added licence files from the wheel. Reproduces on any arch. Built on cp312 (macOS, local, system OpenSSL); 25 passed.
luhenry
added a commit
that referenced
this pull request
Sep 7, 2026
… staged tests/ imports the wheel, not the checkout's ssh2/ source (gotcha 25)
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.
ssh2-python1.2.0.post1Cython bindings for the libssh2 C library, built from the vendored
libssh2/tree against system OpenSSL. Upstream publishes no riscv64 wheel.Mirrors upstream's
build-wheels.sh.Differs from upstream
openssl-develis already current, and a source build fails on riscv64 (noFindBin.pm).Testing
tests/pytest suite against the wheel; upstream's own manylinux script only does an import sanity check.License: Wheel bundles libssh2 (BSD-3-Clause, vendored and built from source) and OpenSSL (Apache-2.0, from the build image); upstream ships no licence text for either, so the build adds both.
Patches
0001-Widen-license-files-to-cover-bundled-third-party-lic.patch- To upstream. Without it setuptools' explicitlicense_fileslist drops the added licence files from the wheel. Reproduces on any arch.Built on cp312 (macOS, local, system OpenSSL); 25 passed.