Skip to content

Bump StaticArrays floor to 1.9.8 (fix Downgrade Core lts precompile)#340

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-fleet-green
Draft

Bump StaticArrays floor to 1.9.8 (fix Downgrade Core lts precompile)#340
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-fleet-green

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

Bumps the StaticArrays compat floor from 1.9.7 to 1.9.8 to fix the Downgrade Core (lts) lane.

StaticArrays is a test-only dependency (used in inf_integral_tests.jl, quadrule_tests.jl, verbosity_tests.jl — all in the Core group). The Downgrade workflow resolves the root project at minimum compatible versions, so it selects StaticArrays 1.9.7, which fails to precompile on Julia 1.10:

Failed to precompile StaticArrays [90137ffa-...] ...
ERROR: LoadError: UndefVarError: `require_one_based_indexing` not defined
in expression starting at .../StaticArrays/src/StaticArrays.jl:1

The lane dies during precompile before any test runs.

Reproduction (Julia 1.10.11 / lts)

Pinning each version in a fresh temp env and precompiling:

  • StaticArrays 1.9.7PRECOMPILE_FAILED: Failed to precompile StaticArrays ... UndefVarError: require_one_based_indexing not defined
  • StaticArrays 1.9.8PRECOMPILE_OK StaticArrays 1.9.8 (precompiles and loads cleanly)

Raising the floor to 1.9.8 makes the minimum resolvable version precompile-clean.

This is the same fix as DataInterpolations #553.

Scope

  • One-line change to the root [compat]; StaticArrays does not appear in any group env (test/qa, test/AD), so QA and AD are unaffected.
  • No source changes.

Note: draft — please ignore until reviewed by @ChrisRackauckas.

Note on validation: the root-cause reproduction and the fix were validated locally on Julia 1.10.11 (the 1.9.7-fails / 1.9.8-succeeds precompile results above). The full end-to-end downgrade-resolver + QA Pkg.test runs could not be completed on this machine because the shared scratch disk hit 100% (SystemError: mktemp: No space left on device) under concurrent load; those are confirmatory only and do not affect the causal chain. CI on this PR will exercise them.

🤖 Generated with Claude Code

StaticArrays 1.9.7 fails to precompile on Julia 1.10 with
`UndefVarError: require_one_based_indexing not defined`, so the Downgrade
Core lts lane (which resolves the root project at minimum versions) picks
1.9.7 and dies during precompile before any test runs.

Reproduced on Julia 1.10.11:
  - StaticArrays 1.9.7 -> Failed to precompile (UndefVarError:
    require_one_based_indexing)
  - StaticArrays 1.9.8 -> precompiles and loads cleanly

Raising the compat floor to 1.9.8 makes the minimum resolvable version
precompile-clean. Same fix as DataInterpolations #553.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.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