Repository navigation
Use the local Callable alias instead of non-public Base.Callable - #1608
Merged
ChrisRackauckas merged 1 commit intoSep 25, 2026
Merged
Conversation
`Base.Callable` is not public, so the QA group's
all_qualified_accesses_are_public check fails on Julia >= 1.11. SciMLBase
already defines `const Callable = Union{Function, Type}` for this purpose.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Agent-Harness: Claude Code 2.1.280
Agent-Model: claude-opus-5-5[1m]
Agent-Session: https://claude.ai/code/session_01QgnmpexRwud38wrs3XvBfV
Claude-Session: https://claude.ai/code/session_01QgnmpexRwud38wrs3XvBfV
ChrisRackauckas
marked this pull request as ready for review
September 25, 2026 02:16
ChrisRackauckas-Claude
pushed a commit
to ChrisRackauckas-Claude/SciMLBase.jl
that referenced
this pull request
Sep 25, 2026
Master advanced with two commits affecting the moved recipe code and QA: - SciML#1609 rewrites the plot idxs dimension check to use each transform's output arity (solplot_vecs_and_labels/integplot_vecs_and_labels lose their dims argument and assert on output length instead of idxs input arity, throwing ArgumentError on genuine mismatches). The core helper changes merge cleanly; the integplot_vecs_and_labels side is ported into SciMLBaseRecipesBaseExt where that function now lives, keeping the SciMLBase.-qualified call style. - SciML#1608 replaces `Base.Callable` (non-public) with SciMLBase's local `Callable` alias, clearing the all_qualified_accesses_are_public QA failure seen on Julia 1.11+. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Devin <[email protected]> Agent-Harness: Devin (SWE-2 Max) Agent-Model: SWE-2 Max Agent-Session: /home/crackauc/sandbox/fleet-master-jobs/nw-scimlbase-1092/log.txt
Merged
ChrisRackauckas
referenced
this pull request
Sep 26, 2026
Agent-Harness: Claude Code Agent-Model: claude-opus-5-5[1m] Agent-Session: local Claude Code session 3cd6500a-1f81-46b5-ac0b-c466e15b6a53 on Chris's Mac (session ID, no URL) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
NonlinearProblem(::SteadyStateProblem)(added in #1603) checkslp isa Base.Callable.Base.Callableis not public, so the QA group's ExplicitImportsall_qualified_accesses_are_publiccheck errors on Julia ≥ 1.11. The master QA job is red: https://github.com/SciML/SciMLBase.jl/actions/runs/35839187919/job/107115590495. SciMLBase already definesconst Callable = Union{Function, Type}(src/SciMLBase.jl:144) for exactly this reason, so the fix uses that alias. There is no behaviour change: it is the sameUnion.Verification
Local, Julia 1.12.4,
GROUP=QA julia --project -e 'using Pkg; Pkg.test()'. I setJULIA_CONDAPKG_BACKEND=Null JULIA_PYTHONCALL_EXE=/usr/bin/python3because the CondaPkg-provisioned Python 3.14 on this machine fails to start. That problem is environmental and unrelated to this change.Before (master 7013302):
After (this branch):
typosandrunic --checkpass on the changed file.CI
tests / QA (julia 1)passes on this PR and is red on master. These five checks fail on the PR and fail the same way on master run https://github.com/SciML/SciMLBase.jl/actions/runs/35839187718 / https://github.com/SciML/SciMLBase.jl/actions/runs/35839187919, so they are not caused by this change: Catalyst ReleaseTest, SymbolicIndexingInterface (lts), and SciMLSensitivity Core3, Core6 and Core7.Not verified
Base.Callablefor an identical localUnion.SymbolicIndexingInterfacegroup is also red (SCCNonlinearProblem has no field u0). That failure is separate, not touched here, and being investigated separately.Please ignore this draft until reviewed by @ChrisRackauckas.
Risk assessment
NonlinearProblem(::SteadyStateProblem); the type test is identical (Union{Function, Type}); no public API change.Union{Function,Type} === Base.Callable, reran QA (123/123), and ExplicitImports on master vs PR differ only byCallable. Codex/Astra was rate-limited this cycle, so a workhorse reviewed this one-line diff (review:~/sandbox/goals/qa-hygiene/reviews/SciMLBase/reviews/pr-1608/round1/REVIEW.mdon amdci2). Non-blocking note from the review: the existinglp isa Callabledispatch in Add a lowered_problem slot to SteadyStateProblem #1603 does not treat callable structs as callables. That behaviour predates this PR and is unchanged here.🤖 Generated with Claude Code (Claude Code 2.1.280, model: claude-opus-5-5[1m])
https://claude.ai/code/session_01QgnmpexRwud38wrs3XvBfV