From cedafffddcf4223daa85d73eed2c23267db61818 Mon Sep 17 00:00:00 2001 From: Mateusz Baran Date: Wed, 28 Aug 2024 11:39:11 +0200 Subject: [PATCH] Bump Manifolds.jl to 0.10 (#45) * Bump Manifolds.jl to 0.10 * update CI Julia versions * add news entry * bump in docs too * one more bump --- .github/workflows/ci.yml | 2 +- .github/workflows/documenter.yml | 2 +- Changelog.md | 6 ++++++ Project.toml | 4 ++-- docs/Project.toml | 2 +- test/differentiation.jl | 2 +- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b09302a..19ef7d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: ["1.6", "1.9", "~1.10.0-0"] + julia-version: ["1.6", "1.10", "~1.11.0-0"] os: [ubuntu-latest, macOS-latest, windows-latest] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/documenter.yml b/.github/workflows/documenter.yml index 155db71..1e70d9c 100644 --- a/.github/workflows/documenter.yml +++ b/.github/workflows/documenter.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@latest with: - version: 1.8 + version: "1.10" - uses: julia-actions/julia-docdeploy@v1 env: PYTHON: "" diff --git a/Changelog.md b/Changelog.md index 501c7af..8305e60 100644 --- a/Changelog.md +++ b/Changelog.md @@ -5,6 +5,12 @@ All notable changes to this Julia package will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.3.11] August 28, 2024 + +### Changed + +* Support for `Manifolds.jl` 0.10. + ## [0.3.10] December 13, 2023 ### Added diff --git a/Project.toml b/Project.toml index 4a2f7ad..1e9dd21 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ManifoldDiff" uuid = "af67fdf4-a580-4b9f-bbec-742ef357defd" authors = ["Seth Axen ", "Mateusz Baran ", "Ronny Bergmann "] -version = "0.3.10" +version = "0.3.11" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" @@ -29,7 +29,7 @@ ChainRules = "1" ChainRulesCore = "1" DoubleFloats = ">= 0.9.2" ForwardDiff = "0.10" -Manifolds = "0.9" +Manifolds = "0.10" ManifoldsBase = "0.15" RecursiveArrayTools = "2, 3" Requires = "1" diff --git a/docs/Project.toml b/docs/Project.toml index 217d3f8..c7f4998 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -16,5 +16,5 @@ Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" Documenter = "1" DocumenterCitations = "1.2.1" ManifoldDiff = "0.3" -Manifolds = "0.9" +Manifolds = "0.10" ManifoldsBase = "0.15" diff --git a/test/differentiation.jl b/test/differentiation.jl index 04ee792..68c3268 100644 --- a/test/differentiation.jl +++ b/test/differentiation.jl @@ -147,7 +147,7 @@ using LinearAlgebra: Diagonal, dot set_default_differential_backend!(backend) X = [-0.0 -0.0] @test _jacobian(f1, [1.0, -1.0]) ≈ [1.0 -2.0] - # The following seems not to worf for :central, but it does for forward + # The following seems not to work for :central, but it does for forward fdf = ManifoldDiff.FiniteDiffBackend(Val(:forward)) @test_broken _jacobian!(f1!, X, [1.0, -1.0], fdf) === X @test_broken X ≈ [1.0 -2.0]