Skip to content

setting max sparse version#957

Merged
henrydingliu merged 1 commit into
mainfrom
henrydingliu-patch-1
Jun 12, 2026
Merged

setting max sparse version#957
henrydingliu merged 1 commit into
mainfrom
henrydingliu-patch-1

Conversation

@henrydingliu

@henrydingliu henrydingliu commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

setting max sparse version

Summary of Changes

setting max sparse version to avoid import error on sparse._slicing

Related GitHub Issue(s)

closes #956

Additional Context for Reviewers

  • I passed tests locally for both code (uv run pytest) and documentation changes (uv run jb build docs --builder=custom --custom-builder=doctest)

Note

Low Risk
Single-line dependency constraint in pyproject.toml; limits sparse upgrades but avoids known import breakage with no runtime logic changes.

Overview
Caps the sparse dependency in pyproject.toml with an upper bound <=0.17.0 (still >=0.9) so installs do not pull in a newer sparse release that triggers an import failure involving sparse._slicing (see #956).

This is packaging-only: no application code changes, only resolver/install-time version constraints.

Reviewed by Cursor Bugbot for commit 099182b. Bugbot is set up for automated code reviews on this repo. Configure here.

setting max sparse version
@codecov

codecov Bot commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.82%. Comparing base (cdd8371) to head (099182b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #957   +/-   ##
=======================================
  Coverage   88.82%   88.82%           
=======================================
  Files          89       89           
  Lines        5067     5067           
  Branches      648      648           
=======================================
  Hits         4501     4501           
  Misses        422      422           
  Partials      144      144           
Flag Coverage Δ
unittests 88.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@henrydingliu henrydingliu merged commit f1a9375 into main Jun 12, 2026
17 checks passed
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.

[BUG] sparse._slicing is deprecated

2 participants