Skip to content

Raise Mooncake compat floor to 0.5.36 (fix Downgrade resolution)#1241

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:raise-mooncake-floor-0.5.36
Closed

Raise Mooncake compat floor to 0.5.36 (fix Downgrade resolution)#1241
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:raise-mooncake-floor-0.5.36

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Raises the Mooncake [compat] floor to the latest (0.5.36) in every Project.toml that declares it, replacing the Mooncake = "0.4.138, 0.5" union with a single floor. This is the "limit to latest Mooncake" fix for the promotion-caused Downgrade Unsatisfiable wall: the old union let the Downgrade min-resolution pin an ancient Mooncake (verified: master pins 0.5.15), whose promotion into the merged test env is what drove the Resolver.jl wall. A single floor at the latest stops the ancient pin.

Raised floors

Project.toml old Mooncake compat new
Project.toml (Optimization) 0.4.138, 0.5 0.5.36
lib/OptimizationBase/Project.toml 0.4.138, 0.5 0.5.36

Patch version bumps: Optimization 5.6.2 -> 5.6.3, OptimizationBase 5.1.4 -> 5.1.5 (a [compat] narrowing on a weakdep/test dep is not a public-API change).

Verification (resolves_at_min = TRUE)

Ran the actual julia-actions/julia-downgrade-compat@v2 downgrade.jl (merged-extras resolution via Resolver.jl --min=@deps) on Julia 1.12, same skip list CI uses (stdlibs + SymbolicAnalysis + [sources]):

  • Root Optimization (merged extras, Mooncake promoted to a full dep): Successfully resolved minimal versions — Mooncake pinned to exactly 0.5.36. No Unsatisfiable.
  • lib/OptimizationBase (Mooncake weakdep, merged extras): Successfully resolved minimal versions. No Unsatisfiable.
  • Counterfactual baseline (unbumped master) resolved to Mooncake 0.5.15, confirming the floor-raise is what forces the min-resolution up to 0.5.36.

So the floor-raise alone resolves the min-resolution here; the Resolver-capacity wall (#52) does not persist for these projects after the bump.


Ignore until reviewed by @ChrisRackauckas.

Replace the `Mooncake = "0.4.138, 0.5"` union in the root Optimization
and OptimizationBase [compat] sections with a single floor at the latest
Mooncake `0.5.36`. The old union let the Downgrade CI min-resolution pin
an ancient Mooncake (0.5.15), the promotion of which drove the
Resolver.jl Unsatisfiable wall. Pinning the floor to the latest keeps the
downgrade resolvable.

Patch-level version bumps: a [compat] narrowing on a weakdep/test dep is
not a public-API change.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor Author

Closing. Verified locally (ran the action's own downgrade.jl on the identical commit CI failed on) that raising the Mooncake compat floor does NOT fix the Downgrade lane. The failure is julia-downgrade-compat@v2 merged mode promoting all ~13 weakdep AD backends (Mooncake, Zygote, ForwardDiff, DifferentiationInterface, …) to hard deps and running Resolver.jl --min on the joint graph — which is registry-snapshot-dependent (flips UNSAT↔SAT as those packages release) and independent of Mooncake's version. This PR also unnecessarily narrows Mooncake compat. Real fix is julia-actions/julia-downgrade-compat#52 (do not promote weakdeps in merged resolution). Superseded — closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants