Downgrade: raise StaticArrays compat floor to 1.9.8#100
Draft
ChrisRackauckas-Claude wants to merge 1 commit into
Draft
Downgrade: raise StaticArrays compat floor to 1.9.8#100ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
…ot precompile) At the downgrade minimum the `StaticArrays = "1.9"` floor resolves to StaticArrays v1.9.7. That version's `src/StaticArrays.jl` imports `require_one_based_indexing` from StaticArraysCore, but its own `StaticArraysCore = "~1.4.0"` compat allows only StaticArraysCore 1.4.x, which does not export that symbol. Precompilation therefore fails with `UndefVarError: require_one_based_indexing not defined`. StaticArrays v1.9.8 removed that broken import, so it is the smallest 1.9.x that precompiles. Bumping the floor to 1.9.8 fixes the downgrade build. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
Downgrade fix: raise StaticArrays compat floor to 1.9.8
The conflict
The
Downgradeworkflow fails on the LTS (Julia 1.10) during precompilation:Why the old floor was impossible
At the downgrade minimum the declared
StaticArrays = "1.9"floor resolves to StaticArrays v1.9.7. That version'ssrc/StaticArrays.jl(line 29) does:but StaticArrays 1.9.7 pins
StaticArraysCore = "~1.4.0", and StaticArraysCore 1.4.x does not exportrequire_one_based_indexing(it only callsBase.require_one_based_indexinginternally). So v1.9.7 imports a symbol that does not exist in its own allowed StaticArraysCore range and cannot precompile. The old floor was self-broken at the downgrade minimum.StaticArrays v1.9.8 removed that broken import from the StaticArraysCore
usinglist, so it is the smallest 1.9.x that precompiles.The fix
Raise the floor to
StaticArrays = "1.9.8".Resolve/precompile verification (local, Julia 1.10.11 = CI lts)
Installed StaticArrays at each version and precompiled:
Note on the latest-versions ("CI") jobs
The downgrade-relevant config (Core, julia lts) passes on
masterat latest versions; the onlymasterCI reds areQA (julia 1)(a runner.gitconfiglock glitch + codecov auth warning, JET analysis itself passed) andCore (julia pre)(a JETUnsatisfiableon the nightly channel). Both are unrelated to this StaticArrays downgrade floor and are not addressed here.This PR is a draft. Ignore until reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code