Skip to content

Fix ArrayInterface minimum version bound#41

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-min-versions-20260102-013111
Jan 2, 2026
Merged

Fix ArrayInterface minimum version bound#41
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-min-versions-20260102-013111

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

  • Updated ArrayInterface minimum version from 7 to 7.5

Problem

The package uses ArrayInterface.qr_instance at line 268 in src/FastAlmostBandedMatrices.jl, but this function was not available in ArrayInterface versions 7.0-7.4. This causes the package to fail to precompile when users have older versions of ArrayInterface installed within the stated compatibility bounds.

Solution

Updated the compat entry in Project.toml from ArrayInterface = "7" to ArrayInterface = "7.5" to reflect the actual minimum requirement.

Testing

  • Tested with ArrayInterface 7.0-7.4: Failed with UndefVarError: qr_instance not defined in ArrayInterface
  • Tested with ArrayInterface 7.5+: All tests pass
  • Verified that all existing tests still pass with the updated bound

Evidence

The downgrade testing showed:

  • ArrayInterface 7.0-7.4: Package fails to precompile due to missing qr_instance function
  • ArrayInterface 7.5+: Package precompiles and tests pass successfully

@ChrisRackauckas

🤖 Generated with Claude Code

The package uses ArrayInterface.qr_instance (line 268 in src/FastAlmostBandedMatrices.jl),
which was not available in ArrayInterface 7.0-7.4. Testing shows that ArrayInterface 7.5
is the minimum version that provides this function.

Updated the compat entry from "7" to "7.5" to reflect the actual minimum requirement.

Verified by testing with minimum versions - tests pass with ArrayInterface 7.5 but fail
with ArrayInterface 7.0-7.4 due to UndefVarError for qr_instance.

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit 4b7a9d1 into SciML:main Jan 2, 2026
11 of 13 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.

3 participants