Skip to content

Narrow MatrixAlgebraKit compat to pin at 0.6.4#258

Merged
mtfishman merged 3 commits intomainfrom
mf/bump-matrixalgebrakit-0.6.5
Apr 23, 2026
Merged

Narrow MatrixAlgebraKit compat to pin at 0.6.4#258
mtfishman merged 3 commits intomainfrom
mf/bump-matrixalgebrakit-0.6.5

Conversation

@mtfishman
Copy link
Copy Markdown
Member

@mtfishman mtfishman commented Apr 23, 2026

Root [compat] was claiming support for the whole 0.6 series ("0.6") while test/Project.toml pinned to "0.6.0 - 0.6.4". That gap makes the compat-bounds check fail: the root's upper bound (0.6.5) is not reachable in the workspace resolver (since test caps at 0.6.4).

The right fix is to narrow root to match test, since MatrixAlgebraKit 0.6.5 has a JLArrays compat break (fix is on MatrixAlgebraKit main but not yet registered). Once a fix is released (0.6.6), both root and test can widen back to "0.6".

Changes

  • Project.toml: MatrixAlgebraKit = "0.6""0.6.0 - 0.6.4"
  • Project.toml: version 0.10.370.10.38

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.99%. Comparing base (550c1c1) to head (14e240f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #258   +/-   ##
=======================================
  Coverage   71.99%   71.99%           
=======================================
  Files          36       36           
  Lines        2032     2032           
=======================================
  Hits         1463     1463           
  Misses        569      569           
Flag Coverage Δ
docs 5.83% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.

@mtfishman mtfishman closed this Apr 23, 2026
@mtfishman mtfishman reopened this Apr 23, 2026
mtfishman and others added 2 commits April 23, 2026 10:23
Root was aspirationally claiming `"0.6"` but test pins to
`"0.6.0 - 0.6.4"` because MatrixAlgebraKit 0.6.5 has a JLArrays
compat break (fixed on MatrixAlgebraKit main, not yet released).
Tighten root to match reality until the fix is registered.
@mtfishman mtfishman changed the title Bump compat for MatrixAlgebraKit to 0.6.5 in test Narrow MatrixAlgebraKit compat to pin at 0.6.4 Apr 23, 2026
@mtfishman mtfishman merged commit b474423 into main Apr 23, 2026
19 checks passed
@mtfishman mtfishman deleted the mf/bump-matrixalgebrakit-0.6.5 branch April 23, 2026 15:03
Comment thread Project.toml
MacroTools = "0.5.13"
MapBroadcast = "0.1.5"
MatrixAlgebraKit = "0.6"
MatrixAlgebraKit = "0.6.0 - 0.6.4"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
MatrixAlgebraKit = "0.6.0 - 0.6.4"
MatrixAlgebraKit = "0.6, ~0.6.5"

It is probably cleaner to specify this like so, this has the same behavior for now and immediately fixes the problem in the future. I'm hoping to get a MatrixAlgebraKit release in this week, so that should also unblock this :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I actually meant to revert this, I really just wanted the test/Project.toml to skip v0.6.5, but that's a good idea to only skip v0.6.5 rather than limiting to 0.6.0 - 0.6.4. However, I don't understand your suggestion, I don't see how that would skip v0.6.5.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I always forget the exact syntax, this was meant to be 0.6 and NOT 0.6.5

mtfishman added a commit that referenced this pull request Apr 23, 2026
Follow-up to #258. Under the bucket-rule compat check
([ITensorActions#79](ITensor/ITensorActions#79)),
within-bucket gaps no longer fail, so root can go back to `"0.6"`
instead of the narrow `"0.6.0 - 0.6.4"`.

`test/Project.toml` still needs to exclude MatrixAlgebraKit 0.6.5
because of its JLArrays compat break. Switching from `"0.6.0 - 0.6.4"`
to `"0.6.0 - 0.6.4, 0.6.6"` lets the resolver auto-pick up 0.6.6 as soon
as it's registered, with no further compat bump required here. The
trailing `"0.6.6"` uses bare caret semver (`[0.6.6, 0.7.0)`) so it stays
in the 0.6 bucket — `">=0.6.6"` would also admit 0.7+.

Closes #259.

### Changes

- root: `MatrixAlgebraKit = "0.6.0 - 0.6.4"` → `"0.6"`
- test: `MatrixAlgebraKit = "0.6.0 - 0.6.4"` → `"0.6.0 - 0.6.4, 0.6.6"`
- Patch version bump.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

2 participants