setting max sparse version#957
Merged
Merged
Conversation
setting max sparse version
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
genedan
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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
sparsedependency inpyproject.tomlwith an upper bound<=0.17.0(still>=0.9) so installs do not pull in a newersparserelease that triggers an import failure involvingsparse._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.