[Library Upgrade] river

Open
#10,092 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
numpy, python

Research direction

Find where the default, legacy, and autogluon package environments declare River and inspect their dependency constraints. Check how those environments resolve NumPy and SciPy, especially the default environment's NumPy 1.x to 2.x change. Done means River 0.26.1 and compatible NumPy and SciPy versions are available in all three environments.

Written by the indexing model from the issue text.

Description

library-request

River is an online machine learning library for building models that learn one sample at a time, for streaming and incremental learning use cases. It is available across the default, legacy and autogluon package environments.

Expected Behavior

The package environments ship the latest stable River release, 0.26.1 (released 2026-08-21).

Actual Behavior

All three package environments (default, legacy, autogluon) still ship River 0.21.0 (released 2023-12-05).

Potential Solution

Bump river to 0.26.1 in all three package environments.

The upgrade moves the numpy and scipy floors:

River 0.21.0 River 0.26.1
numpy requirement >=1.23.0,<2.0.0 >=2.2.5,<3
scipy requirement >=1.8.1,<2.0.0 >=1.14.1,<2

The default environment currently has numpy 1.26.4 and scipy 1.13.1, both below the 0.26.1 floor; numpy 1.x to 2.x is a breaking major version bump for any other package pinned against numpy<2.

Checklist
  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues

Requested by a Cloud member (Intercom conversation 215476809381881).

Dominant language
C#
Stars
22.6k
Forks
5.4k
Avg merge
11h 39m
Merged PRs (30d)
104

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from QuantConnect/Lean

All issues in QuantConnect/Lean

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.