Repository navigation
Raise NonlinearSolveFirstOrder's NonlinearSolveBase floor to 2.52 - #1297
Merged
Merged
Conversation
v2.9.0 imports MoreTrustRegionDescent, TrustRegionSubproblem and AbstractDescentDirection from NonlinearSolveBase; those were added in NonlinearSolveBase 2.52.0 by #1287. The compat floor still allowed 2.50, so a resolver picking 2.51.1 gets a package that fails to load. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Agent-Harness: Claude Code 2.1.273 Agent-Model: claude-opus-5[1m] Agent-Session: 6a01e420-3436-4518-83cc-6cd853283cfb (local transcript; this harness publishes no conversation URL)
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.
NonlinearSolveFirstOrderv2.9.0 failed AutoMerge with:Cause
#1287 moved the trust-region subproblem machinery into
NonlinearSolveBaseand madeMoreTrustRegionDescenttheTrustRegiondefault.lib/NonlinearSolveFirstOrder/src/NonlinearSolveFirstOrder.jlnow does:Those names were added in
NonlinearSolveBase2.52.0 by that same PR, but the compat entry was left atNonlinearSolveBase = "2.50". Checked against the pre-#1287 tree (4b29d933,NonlinearSolveBasev2.51.1):MoreTrustRegionDescentandTrustRegionSubproblemappear 0 times. So any resolve that picks 2.51.1 — which is what AutoMerge did, since 2.52.0 was not yet registered when it ran — installs aNonlinearSolveFirstOrderthat cannot load.This is not only a registration problem: with the floor at 2.50, a user pinning
NonlinearSolveBaseto 2.51.x gets the sameimportfailure.Fix
Raise the floor to
NonlinearSolveBase = "2.52".lib/NonlinearSolveBaseon master is already 2.52.0 and is now registered, so this resolves.Scope check:
MoreTrustRegionDescent/TrustRegionSubproblem/RadiusUpdateSchemes.Moreare referenced only underlib/NonlinearSolveBaseandlib/NonlinearSolveFirstOrder, so no other sublibrary needs a floor change.No version bump — v2.9.0 is not yet registered, so re-triggering Registrator updates the pending registration to this commit.
🤖 Generated with Claude Code (model: claude-opus-5[1m])
Local session: 6a01e420-3436-4518-83cc-6cd853283cfb (this harness publishes no conversation URL)