Skip to content
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

Update ManifoldDiff.jl compat to 0.4 and CI #23

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ["1.6", "1.10", "1.11"]
julia-version: ["lts", "1", "pre"]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.julia-version }}
arch: x64
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
- uses: julia-actions/julia-processcoverage@latest
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./lcov.info
name: codecov-umbrella
fail_ci_if_error: false
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
- uses: actions/checkout@v3
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.3.361"
version: "1.6.38"
- uses: julia-actions/setup-julia@latest
with:
version: "1.10"
- name: Julia Cache
uses: julia-actions/cache@v1
uses: julia-actions/cache@v2
- name: Cache Quarto
id: cache-quarto
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-quarto
with:
Expand All @@ -31,7 +31,7 @@ jobs:
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache Documenter
id: cache-documenter
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-documenter
with:
Expand All @@ -41,7 +41,7 @@ jobs:
${{ runner.os }}-${{ env.cache-name }}-
- name: Cache CondaPkg
id: cache-condaPkg
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-condapkg
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: julia-actions/setup-julia@v2
with:
version: 1
- name: Install JuliaFormatter and format
Expand Down
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ 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.1.11] – 16/12/2024

### Changed

* Added compatibility with ManifoldDiff.jl v0.4
* Minimum Julia version bumped to 1.10.
* CI updates

## [0.1.10] – 18/10/2024

### Changed
Expand Down
20 changes: 10 additions & 10 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ManoptExamples"
uuid = "5b8d5e80-5788-45cb-83d6-5e8f1484217d"
authors = ["Ronny Bergmann <[email protected]>"]
version = "0.1.10"
version = "0.1.11"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -19,17 +19,17 @@ ManoptExamplesManoptExt = "Manopt"

[compat]
Distributions = "0.25"
LinearAlgebra = "1.6"
ManifoldDiff = "0.3"
Manifolds = "0.9, 0.10"
LinearAlgebra = "1.10"
ManifoldDiff = "0.4"
Manifolds = "0.10"
ManifoldsBase = "0.15"
Manopt = "0.4.7, 0.5"
Markdown = "1.6"
Random = "1.6"
Test = "1.6"
julia = "1.6"
Manopt = "0.5"
Markdown = "1.10"
Random = "1.10"
Test = "1.10"
julia = "1.10"
RecursiveArrayTools = "2, 3"
Requires = "0.5, 1"
Requires = "1"

[extras]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand Down
2 changes: 1 addition & 1 deletion examples/Bezier-curves.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ pB_opt = gradient_descent(
contraction_factor=0.5,
sufficient_decrease=0.001,
),
stopping_criterion=StopWhenChangeLess(1e-5) |
stopping_criterion=StopWhenChangeLess(N, 1e-5) |
kellertuer marked this conversation as resolved.
Show resolved Hide resolved
StopWhenGradientNormLess(1e-7) |
StopAfterIteration(300),
debug=[
Expand Down
8 changes: 4 additions & 4 deletions examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ Colors = "0.12"
IJulia = "1"
LRUCache = "1.4"
LineSearches = "7"
ManifoldDiff = "0.3.9"
Manifolds = "0.9, 0.10"
ManifoldDiff = "0.4"
Manifolds = "0.10"
ManifoldsBase = "0.15"
Manopt = "0.4.56"
Manopt = "0.4.56, 0.5"
NamedColors = "0.2.1"
Plots = "1.38"
PythonCall = "0.9"
julia = "1.6"
julia = "1.10"
Loading