Bump StaticArrays floor to 1.9.8 (fix Downgrade Core lts precompile)#340
Draft
ChrisRackauckas-Claude wants to merge 1 commit into
Draft
Bump StaticArrays floor to 1.9.8 (fix Downgrade Core lts precompile)#340ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
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>
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.
Summary
Bumps the
StaticArrayscompat floor from1.9.7to1.9.8to fix the Downgrade Core (lts) lane.StaticArraysis a test-only dependency (used ininf_integral_tests.jl,quadrule_tests.jl,verbosity_tests.jl— all in theCoregroup). The Downgrade workflow resolves the root project at minimum compatible versions, so it selectsStaticArrays 1.9.7, which fails to precompile on Julia 1.10: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.7→PRECOMPILE_FAILED: Failed to precompile StaticArrays ... UndefVarError: require_one_based_indexing not definedStaticArrays 1.9.8→PRECOMPILE_OK StaticArrays 1.9.8(precompiles and loads cleanly)Raising the floor to
1.9.8makes the minimum resolvable version precompile-clean.This is the same fix as DataInterpolations #553.
Scope
[compat];StaticArraysdoes not appear in any group env (test/qa,test/AD), so QA and AD are unaffected.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.testruns 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