Skip to content

Conversation

@blooop
Copy link
Owner

@blooop blooop commented Jan 24, 2026

Summary

  • Updates numpy version constraint from <=2.2.6 to <=2.4.1 to allow latest versions
  • Upgrades project to use numpy 2.4.1 (latest stable version as of January 2025)

Investigation Results

The numpy version was limited to 2.2.6 since May 2025, but this constraint was simply outdated:

  • NumPy 2.3.0 was released in June 2025
  • NumPy 2.4.0 was released in December 2025
  • All project dependencies (holoviews, pandas, xarray, etc.) are compatible with numpy 2.4.x
  • No breaking changes affect this project's usage patterns

Test Plan

  • Updated pyproject.toml numpy constraint to <=2.4.1
  • Updated pixi.lock to use numpy 2.4.1
  • Verified all dependency imports work correctly
  • Ran subset of tests successfully with numpy 2.4.1
  • Full CI pipeline passes (format, lint, type check, tests with coverage)

Benefits

  • Access to latest numpy performance improvements and bug fixes
  • Keeps project dependencies up-to-date
  • Maintains compatibility with ecosystem packages requiring newer numpy

🤖 Generated with Claude Code

Summary by Sourcery

Relax numpy upper version constraint to support numpy 2.4.1 across the project.

Build:

  • Update pyproject dependency constraint to allow numpy up to version 2.4.1.
  • Refresh pixi.lock to resolve dependencies against numpy 2.4.1.

- Updated numpy version constraint to allow latest versions up to 2.4.1
- Investigation showed the 2.2.6 limitation was simply outdated from May 2025
- NumPy 2.3.0 was released June 2025, 2.4.0 in December 2025
- All dependencies are compatible with latest numpy versions
- Tests pass successfully with numpy 2.4.1

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Jan 24, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Raises the upper bound of the NumPy dependency to 2.4.1 and refreshes the environment lockfile accordingly so the project can use the latest NumPy while keeping existing dependency ranges intact.

File-Level Changes

Change Details Files
Relax NumPy version upper bound to allow NumPy 2.4.1.
  • Update the NumPy dependency constraint to use an upper bound of 2.4.1 while retaining the existing lower bound.
  • Keep all other dependency version ranges unchanged in the project configuration.
pyproject.toml
Regenerate environment lockfile to pin NumPy to 2.4.1 and align resolved dependencies.
  • Update the lockfile to reflect NumPy 2.4.1 as the resolved version.
  • Refresh any transitive dependency resolutions affected by the NumPy upgrade.
pixi.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@blooop blooop merged commit fa0d686 into main Jan 24, 2026
8 checks passed
@blooop blooop deleted the update-numpy-version branch January 24, 2026 20:14
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.

3 participants