-
-
Notifications
You must be signed in to change notification settings - Fork 100
Bump OptimizationBase requirement to v3 and increment sublibrary versions #1040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ChrisRackauckas
merged 7 commits into
SciML:master
from
ChrisRackauckas-Claude:bump-optimizationbase-v3
Oct 7, 2025
Merged
Bump OptimizationBase requirement to v3 and increment sublibrary versions #1040
ChrisRackauckas
merged 7 commits into
SciML:master
from
ChrisRackauckas-Claude:bump-optimizationbase-v3
Oct 7, 2025
Conversation
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
…ions - Updated all sublibraries to require OptimizationBase v3 instead of v2.13 - Bumped minor version for packages >= 1.0.0 (e.g., 1.0.0 -> 1.1.0) - Bumped patch version for packages < 1.0.0 (e.g., 0.3.1 -> 0.3.2) Updated sublibraries: - OptimizationAuglag: 1.0.0 -> 1.1.0 - OptimizationBBO: 0.4.2 -> 0.4.3 - OptimizationCMAEvolutionStrategy: 0.3.2 -> 0.3.3 - OptimizationEvolutionary: 0.4.2 -> 0.4.3 - OptimizationGCMAES: 0.3.1 -> 0.3.2 - OptimizationIpopt: 0.2.2 -> 0.2.3 - OptimizationLBFGSB: 1.0.0 -> 1.1.0 - OptimizationManopt: 1.0.0 -> 1.1.0 - OptimizationMetaheuristics: 0.3.2 -> 0.3.3 - OptimizationMOI: 0.5.7 -> 0.5.8 - OptimizationMultistartOptimization: 0.3.1 -> 0.3.2 - OptimizationNLopt: 0.3.4 -> 0.3.5 - OptimizationNLPModels: 0.0.2 -> 0.0.3 - OptimizationNOMAD: 0.3.2 -> 0.3.3 - OptimizationODE: 0.1.2 -> 0.1.3 - OptimizationOptimisers: 0.3.11 -> 0.3.12 - OptimizationOptimJL: 0.4.5 -> 0.4.6 - OptimizationPolyalgorithms: 0.3.1 -> 0.3.2 - OptimizationPRIMA: 0.3.1 -> 0.3.2 - OptimizationPyCMA: 1.1.0 -> 1.2.0 - OptimizationQuadDIRECT: 0.3.1 -> 0.3.2 - OptimizationSciPy: 0.4.2 -> 0.4.3 - OptimizationSophia: 1.0.0 -> 1.1.0 - OptimizationSpeedMapping: 0.2.1 -> 0.2.2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Removed local path dependencies to OptimizationBase from all sublibrary Project.toml files. The packages will now resolve OptimizationBase from the registry instead of using local paths. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Changed all test files to use OptimizationBase instead of Optimization.jl. OptimizationBase re-exports SciMLBase which provides OptimizationFunction and OptimizationProblem, so tests will work correctly without depending on the main Optimization.jl package. Changes: - Replaced "using Optimization" with "using OptimizationBase" in 25 test files - No changes needed to test logic since OptimizationBase re-exports the necessary types This ensures sublibraries do not depend on Optimization.jl, only OptimizationBase. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
07ffbbb
to
2f5cbfb
Compare
LTS fails because sources isn't used. |
- Added OptimizationLBFGSB to [extras] and [targets] test array - This package is used in the OptimizationNLPModels test suite - Fixes test errors related to missing OptimizationLBFGSB package Note: OptimizationAuglag already has SciMLBase in [deps], so it should be available. OptimizationMultistartOptimization doesn't have any Optimization.jl dependencies. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
The module was using SciMLBase qualified names (e.g., SciMLBase.supports_opt_cache_interface) but only importing specific symbols from it. Added full `using SciMLBase` statement to make the module name available for qualified access. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
UpdatesAdded fixes for test dependencies and missing imports:
These changes address the test failures mentioned in the CI runs. Commits: |
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.
Summary
This PR updates all Optimization.jl sublibraries to require OptimizationBase v3 instead of v2.13, and increments the version numbers of all sublibraries according to semantic versioning conventions.
Changes
Version Requirement Updates
OptimizationBase = "3"
instead ofOptimizationBase = "2.13"
Version Bumps
Following the convention where:
Packages bumped to next minor version (≥ 1.0.0):
Packages bumped to next patch version (< 1.0.0):
Notes
🤖 Generated with Claude Code