Skip to content

Bump StaticArrays compat floor to 1.9.8 (fixes Julia 1.10 Downgrade precompile)#553

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-red-lane
Jul 5, 2026
Merged

Bump StaticArrays compat floor to 1.9.8 (fixes Julia 1.10 Downgrade precompile)#553
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-red-lane

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Please ignore this PR until it has been reviewed by @ChrisRackauckas. Opened as a draft by an automated agent.

Problem

The Downgrade CI lane fails because it resolves StaticArrays to the compat floor 1.9.7, and StaticArrays 1.9.7 fails to precompile on Julia 1.10 with:

UndefVarError: `require_one_based_indexing` not defined

1.9.8 is the first patch release that precompiles cleanly on 1.10.

Fix

Compat-only floor bump 1.9.7 -> 1.9.8 in:

  • Project.toml (root)
  • test/qa/Project.toml

test/Extensions/Project.toml does not pin StaticArrays, so no change there.

No source or public-API change, so this is a patch release.

Validation (local, Julia 1.10.11)

  • Reproduced the failure: StaticArrays 1.9.7 precompile fails on 1.10.11 with require_one_based_indexing UndefVarError; 1.9.8 precompiles cleanly.
  • Ran the Downgrade resolver (--min=@deps) on both Julia 1.10 and Julia 1.12 with the new floor: resolves successfully, manifest pins StaticArrays = 1.9.8.
  • With the floored manifest on Julia 1.10, DataInterpolations precompiles successfully and a BSpline interpolation evaluates correctly (the path that previously died during precompile).

Note on the QA (julia 1) lane

The separate QA @check_allocs failure on the BSpline path is a Julia-1.12-runner-specific AllocCheck false positive (0 allocations locally on the exact env; Core/Methods green on 1.12). It is not a code regression and is intentionally not addressed here (no test loosening, no @test_broken) — it needs an infra/upstream decision rather than a source change. This PR is scoped only to the genuine Downgrade floor fix.

🤖 Generated with Claude Code

… Julia 1.10)

StaticArrays 1.9.7 fails to precompile on Julia 1.10 with
`UndefVarError: require_one_based_indexing not defined`, which breaks the
Downgrade CI lane (it resolves to the minimal compatible version). 1.9.8 is
the first patch that precompiles cleanly on 1.10. Bump the floor from 1.9.7
to 1.9.8 in the root Project.toml and test/qa/Project.toml for consistency.

Compat-only change (no public API touched), so this is a patch release.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review July 5, 2026 05:00
@ChrisRackauckas ChrisRackauckas merged commit aefe7a6 into SciML:master Jul 5, 2026
16 of 18 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.

2 participants