Skip to content

Fix downgraded sublibrary compat bounds#1247

Draft
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-sublibraries-20260708-v2
Draft

Fix downgraded sublibrary compat bounds#1247
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-sublibraries-20260708-v2

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

Summary

This draft PR fixes the current Downgrade Sublibraries failures for the shared OptimizationBase/SparseConnectivityTracer lower-bound path and the SimpleOptimization lower-bound path.

Ignore this PR until reviewed by @ChrisRackauckas.

Changes:

  • Raise OptimizationBase lower bounds for ADTypes and SparseConnectivityTracer to versions compatible with the current dependency stack.
  • Add test-only LogExpFunctions compat to affected sublibraries so downgraded test manifests choose the 0.3.28 - 0.3 range required by SparseConnectivityTracer 1.x.
  • Update SimpleOptimization lower bounds and pass Val(false) for Broyden linesearch, matching SimpleNonlinearSolve 2.x constructors.

Local verification

All commands used timeout 3600, Julia 1.10, a local depot, and Pkg.test(...; allow_reresolve=false) after local downgrade-manifest generation.

Passed:

  • lib/OptimizationBBO: Core | Pass 25 Total 25
  • lib/OptimizationEvolutionary: Core | Pass 32 Total 32
  • lib/OptimizationNOMAD: Core | Pass 4 Total 4
  • lib/OptimizationSciPy: Core | Pass 160 Broken 1 Total 161
  • lib/SimpleOptimization: Core | Pass 7 Total 7
  • Runic --check lib/SimpleOptimization/src/SimpleOptimization.jl
  • git diff --cached --check

Remaining separate failures observed and intentionally not fixed here:

  • lib/OptimizationNLPModels: after downgrade resolution, Pkg.test(... allow_reresolve=false) still hits a SciML stack manifest conflict involving DiffEqBase, SciMLBase, ModelingToolkitBase, FastBroadcast, and RecursiveArrayTools.
  • lib/OptimizationQuadDIRECT: downgrade generation does not add URL [sources] package QuadDIRECT to the generated manifest, so Pkg.test errors that QuadDIRECT is a direct dependency missing from the manifest.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
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