Skip to content

Conversation

oscarbenjamin
Copy link
Collaborator

Add a WASM build in CI. The plan is to test WASM in python-flint's CI, produce WASM wheels and upload them as nightly wheels:
https://anaconda.org/scientific-python-nightly-wheels/python-flint

This squashes the commits from gh-262.

Some things needed adjusting for 32-bit systems:

  • Factors of polynomials are sorted into a consistent order
  • Some arb doctests have slightly different results and are skipped
  • The field generated by fq_default for a given order can be different.

The doctests for gr_nf and gr_nf_fmpz_poly are disabled because they otherwise crash with RuntimeError: memory access out of bounds. wich means that there is a bug somewhere.

CC @agriyakhetarpal

oscarbenjamin and others added 2 commits September 3, 2025 14:56
Some things needed adjusting for 32-bit systems:

- Factors of polynomials are sorted into a consistent order
- Some arb doctests have slightly different results and are skipped
- The field generated by fq_default for a given order can be different.

The doctests for gr_nf and gr_nf_fmpz_poly are disabled because they
otherwise crash with `RuntimeError: memory access out of bounds.` wich
means that there is a bug somewhere.

Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com>
@oscarbenjamin oscarbenjamin merged commit 8493208 into flintlib:main Sep 3, 2025
81 checks passed
@oscarbenjamin oscarbenjamin deleted the pr_wasm branch September 3, 2025 18:56
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