Skip to content

scrypt: add build-scrypt.yml for riscv64 wheels - #1188

Merged
luhenry merged 1 commit into
mainfrom
scrypt
Sep 7, 2026
Merged

scrypt: add build-scrypt.yml for riscv64 wheels#1188
luhenry merged 1 commit into
mainfrom
scrypt

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles Colin Percival's scrypt KDF C library as the _scrypt extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels_linux.yml.

Differs from upstream

  • Adds openssl-devel via dnf - the base manylinux image has no OpenSSL dev headers for the libcrypto AES fallback setup.py links.

Testing

  • same as upstream

License: Wheel bundles OpenSSL's libcrypto (Apache-2.0) and the vendored scrypt-1.3.3 C library (BSD-2-Clause, Colin Percival/Tarsnap); neither's licence text is covered by the top-level LICENSE, so the build adds both.

Built on cp312; 55 passed, 1 skipped.

Build-from-checkout cibuildwheel workflow for the default cp312/cp313/
cp314/cp314t matrix. setup.py links libcrypto for its software AES
fallback, so CIBW_BEFORE_ALL_LINUX installs openssl-devel and stages
its LICENSE.openssl alongside the vendored scrypt-1.3.3 C library's
own COPYRIGHT as LICENSE.scrypt-1.3.3 (neither is covered by the
top-level LICENSE, which is scoped to the Python binding's own
copyright) - setuptools' default license_files glob picks both up
with no setup.py change.
luhenry added a commit that referenced this pull request Sep 6, 2026
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit ee9ae85 into main Sep 7, 2026
10 checks passed
@luhenry
luhenry deleted the scrypt branch September 7, 2026 08:08
@luhenry luhenry linked an issue Sep 7, 2026 that may be closed by this pull request
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.

scrypt riscv64 support

1 participant