Skip to content

river: Add version 0.26.1 - #2594

Merged
luhenry merged 2 commits into
mainfrom
river
Oct 2, 2026
Merged

luhenry merged 2 commits into
mainfrom
river

Conversation

@luhenry

@luhenry luhenry commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Compiles river's PyO3 extension (river._river_rust) with maturin. Upstream publishes no riscv64 wheel.

Mirrors upstream's pypi.yml.

Differs from upstream

  • musllinux dropped - rustup ships no riscv64 musl host toolchain
  • build frontend instead of build[uv] - the riscv64 runner has no host uv

Matrix: cp312/cp313/cp314/cp315 plus cp311-abi3, as upstream ships - no cp314t since upstream ships no free-threaded wheel; native cp311 dropped as the abi3 wheel covers it.

Testing

  • runs code-quality.yml's pytest suite on cp312-cp314 instead of upstream's import-only wheel test
  • pandas omitted as in upstream's main test job; its pandas-only job skipped - no pandas<3 riscv64 wheel for cp313/cp314
  • tests/test_docs.py ignored - needs the repo's docs parser tooling
  • test_memory_usage_class[dataset2-model2] deselected - ceiling tuned to CPython 3.13, fails on 3.12 on x86_64 too
  • cp315 untested, as upstream; the abi3 wheel gets upstream's import test on cp311

License: OK

cp312: 5617 passed, 81 skipped; cp313: 5617 passed, 81 skipped; cp314: 5676 passed, 75 skipped.

river compiles one PyO3 extension (river._river_rust) with maturin and
publishes no riscv64 wheel. Build it from the 0.26.1 tag with upstream's
own [tool.cibuildwheel] config, as its pypi.yml does: one native wheel
per interpreter (cp312-cp315) plus the cp311-abi3 fallback wheel built
on its floor interpreter with --features abi3.

The native legs also run upstream's pytest suite (code-quality.yml's
no-pandas job) against the installed wheel. cp315 keeps upstream's own
test-skip; numpy and scipy have no cp315 riscv64 wheel either.
luhenry added a commit that referenced this pull request Oct 2, 2026
river 0.26.1 is a portable maturin/PyO3 build (34 pure-Rust crates, no
vendored native code); the draft port PR is open and its riscv64 CI is
running.
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-10-02 10:12 UTC

tests/anomaly/test_hst.py::test_missing_features is a doctest that
iterates datasets.CreditCard(). On first use a river dataset downloads
itself with verbose=True, so "Downloading ..." and "Uncompressing into
..." land in the doctest's output and it fails. It failed this way on
cp312, cp313 and cp314, and reproduces on x86_64 with an empty
~/river_data; with the data already present it passes.

Upstream's tests job avoids this by running `make download-datasets`
before pytest, so run that target's command here too.
@luhenry
luhenry marked this pull request as ready for review October 2, 2026 07:11
luhenry added a commit that referenced this pull request Oct 2, 2026
All five riscv64 legs of river 0.26.1 are green (cp312/cp313/cp314 run
the full pytest suite, cp315 builds, cp311-abi3 passes the import test)
and the publish job dry-ran every wheel. The PR is ready for review.
@luhenry
luhenry merged commit b36366c into main Oct 2, 2026
16 checks passed
@luhenry
luhenry deleted the river branch October 2, 2026 08:22
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