Skip to content

fpylll: Add version 0.6.4 - #3032

Merged
luhenry merged 3 commits into
mainfrom
fpylll
Oct 16, 2026
Merged

luhenry merged 3 commits into
mainfrom
fpylll

Conversation

@luhenry

@luhenry luhenry commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Cython bindings over the fplll lattice-reduction C++ library (LLL/BKZ, used in lattice-based cryptography). Upstream publishes no riscv64 wheel.

Mirrors upstream's tests.yml, the from-source fplll build it actually runs (its release.yml instead borrows passagemath's Sage-distribution tooling, which has no riscv64 equivalent here).

Differs from upstream

  • fplll built from its own 5.5.0 release tarball; GMP/MPFR from Rocky 10's repos, not conda/Sage spkgs.
  • musllinux dropped - no riscv64 musl rehearsal for this from-source C++ shape yet, same as symengine/gmpy2/chiavdf.
  • libqd skipped - Rocky ships no qd package on any arch; matches upstream's own tested HAVE_QD=no configuration.
  • CIBW_TEST_REQUIRES also installs cysignals - the first CI run failed with ModuleNotFoundError: No module named 'cysignals', because it's upstream's own install_requires (imported at module load by fpylll.fplll.integer_matrix) and was missing from the test env; our registry already hosts a riscv64 wheel for it.

Testing

  • same as upstream

License: Wheel bundles libfplll (LGPL-2.1-or-later) and libgmp/libmpfr (LGPL-3.0-or-later); upstream ships no licence text for them, so the build adds it.

Built on cp312; pending CI run.

Builds the C++ fplll library from its own 5.5.0 release tarball
(no Rocky package exists for it) with GMP/MPFR from Rocky 10's own
repos, then builds fpylll's Cython bindings against it. No ISA-gated
or SIMD code found in fplll's core; libqd is skipped as Rocky ships
no qd package on any arch, matching one of upstream's own two tested
configurations (HAVE_QD=no).
luhenry added a commit that referenced this pull request Oct 13, 2026
It's upstream's own install_requires (setup.py), imported at module
load by fpylll.fplll.integer_matrix; our registry already has a
riscv64 wheel for it, it was just missing from the test env.
@luhenry
luhenry marked this pull request as draft October 14, 2026 11:36
@luhenry
luhenry marked this pull request as ready for review October 15, 2026 10:11
@luhenry
luhenry merged commit 5596e54 into main Oct 16, 2026
13 checks passed
@luhenry
luhenry deleted the fpylll branch October 16, 2026 00:23
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