Repository navigation
Fix ModelingToolkitBase QA imports on Julia 1.11 - #5028
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
26a7073 to
c38d014
Compare
|
Current-master revalidation after rebasing this PR onto 5509368: Failing before, on unmodified current master with Julia 1.10.12 and a fresh writable depot: GROUP=QA julia +1.10.12 --startup-file=no --check-bounds=yes --depwarn=yes \
--project=lib/ModelingToolkitBase -e 'using Pkg; Pkg.test(; allow_reresolve=true)'Passing after, on rebased commit c38d014 with another fresh writable depot: This is not a Symbolics, ExplicitImports, or UnPack release regression. A reduced test fails with both ExplicitImports 1.14.2/1.15.0 and UnPack 1.0.0/1.0.2 on Julia 1.10.12. On that Julia line, running Julia 1.11.9 targeted verification also confirms the iterator compatibility entries remain necessary: removing only Runic 1.10.0, This evidence comment was written by an AI agent (Codex CLI 0.151.0, model unknown). Agent session: local session ID |
- qa: approve newly exported Symbolics API (#5050) - Update redirected documentation links (#5054) - qa: fix ModelingToolkitBase import checks (#5028) - docs: replace stale Pantelides link (#5056) - Precompile ODEProblem construction and DAE initialization in MTK workloads (#5061) - Release 11.41.0 (#5069) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Failing before
On clean
upstream/masterat24e9206e21263ae41c43148434bd4c2dd1bf1977, Julia 1.11.9 failed the ModelingToolkitBase QA group:The two findings were the implicitly imported
UnPackbinding and Julia 1.11's missingpublicmetadata for the documentedBase.Iterators.filter,map, andreverseAPIs.Passing after
The same command passes with this PR:
What changed
UnPackand@unpackare now explicitly imported while retaining the existing reexport. The three documented iterator APIs are recorded in the existing qualified-access compatibility list because Julia 1.11 does not declare thempublic; Julia 1.12 does.This addresses the Julia 1.11 findings exposed by #4989 without changing the iterator implementations or runtime behavior.
Additional verification
All three commands exited successfully with no findings.
No documentation or public API changed, so the documentation build was not run. Test groups outside
ModelingToolkitBase_QAwere not run.Ignore this PR until it has been reviewed by @ChrisRackauckas.
🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512