Skip to content

Commit 392ee0e

Browse files
authored
Bump Dependencies to ManifoldsBase 2.0 and Manifolds 0.11 (#522)
* bump dependencies. * Fix MOI wrapper type string test. * Improve a few lines of code coverage.
1 parent 5bfd3c6 commit 392ee0e

7 files changed

Lines changed: 17 additions & 9 deletions

File tree

Changelog.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ The file was started with Version `0.4`.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9-
## [0.5.24] unreleased
9+
## [0.5.25] October 9, 2025
10+
11+
### Changed
12+
13+
* Bumped dependencies of all JuliaManifolds ecosystem packages to be consistent with ManifoldsBase.jl 2.0 and Manifolds.jl 0.11
14+
15+
## [0.5.24] October 6, 2025
1016

1117
### Added
1218

Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "Manopt"
22
uuid = "0fc0a36d-df90-57f3-8f93-d78a9fc72bb5"
33
authors = ["Ronny Bergmann <manopt@ronnybergmann.net>"]
4-
version = "0.5.24"
4+
version = "0.5.25"
55

66
[deps]
77
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
@@ -50,8 +50,8 @@ LRUCache = "1.4"
5050
LineSearches = "7.2.0"
5151
LinearAlgebra = "1.10"
5252
ManifoldDiff = "0.3.8, 0.4"
53-
Manifolds = "0.10"
54-
ManifoldsBase = "1.1"
53+
Manifolds = "0.10, 0.11"
54+
ManifoldsBase = "1.1, 2"
5555
Markdown = "1.10"
5656
Plots = "1.30"
5757
Preferences = "1.4"

docs/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ JuMP = "1"
4141
LRUCache = "1"
4242
LineSearches = "7"
4343
Literate = "2"
44-
Manifolds = "0.10"
45-
ManifoldsBase = "1"
44+
Manifolds = "0.11"
45+
ManifoldsBase = "2"
4646
Manopt = "0.5"
4747
Plots = "1"
4848
QuadraticModels = "0.9.6"

test/MOI_wrapper.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function test_sphere(descent_state_type; kws...)
7373
end
7474
@test contains(
7575
sprint(show, model),
76-
"Vector{VariableRef} in ManoptJuMPExt.ManifoldSet{Sphere{ManifoldsBase.TypeParameter{Tuple{2}}, ℝ}}: 1",
76+
"Vector{VariableRef} in ManoptJuMPExt.ManifoldSet{Sphere{ℝ, ManifoldsBase.TypeParameter{Tuple{2}}}}: 1",
7777
)
7878
@test contains(sprint(print, model), "[x[1], x[2], x[3]] in Sphere(2, ℝ)")
7979
@test contains(

test/solvers/test_particle_swarm.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ using Random
6969
end
7070
@testset "Specific Stopping criteria" begin
7171
sc = StopWhenSwarmVelocityLess(1.0)
72+
@test !Manopt.indicates_convergence(sc)
7273
@test startswith(repr(sc), "StopWhenSwarmVelocityLess")
7374
@test get_reason(sc) == ""
7475
# Trigger manually

test/solvers/test_projected_gradient.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ using Manifolds, Manopt, Random, Test
8484
repr(st), "# Solver state for `Manopt.jl`s Projected Gradient Method\n"
8585
)
8686
stop_when_stationary = st.stop.criteria[2]
87+
@test Manopt.indicates_convergence(stop_when_stationary)
8788
@test repr(stop_when_stationary) ==
8889
"StopWhenProjectedGradientStationary($(stop_when_stationary.threshold))\n $(
8990
Manopt.status_summary(

tutorials/Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ FiniteDifferences = "0.12"
2727
IJulia = "1"
2828
LRUCache = "1.4"
2929
ManifoldDiff = "0.4"
30-
Manifolds = "0.10"
31-
ManifoldsBase = "1"
30+
Manifolds = "0.11"
31+
ManifoldsBase = "2"
3232
Manopt = "0.5"
3333
Plots = "1.38"
3434
RecursiveArrayTools = "2, 3"

0 commit comments

Comments
 (0)