From d2b239e28eebe80b1108d0d0f67084d8d824b3c3 Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Wed, 7 Feb 2024 16:06:12 +0100 Subject: [PATCH 1/4] Add a deprecation warning that is shown whenever Fenrir is loaded --- src/Fenrir.jl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Fenrir.jl b/src/Fenrir.jl index cc5693c..d890e6d 100644 --- a/src/Fenrir.jl +++ b/src/Fenrir.jl @@ -10,4 +10,14 @@ using SimpleUnPack include("likelihood.jl") export fenrir_nll +function __init__() + # Deprecation warning: This package will not be maintained in the future. + @warn("""\n + # Deprecation warning: This package will not be maintained in the future. + The `fenrir_nll` function implemented in this package is now implemented in + ProbNumDiffEq.jl, together with other data likelihood functions. So, instead of + using Fenrir.jl, use ProbNumDiffEq.jl. + """) +end + end From ebef514507bad5026125d1a4846abce563594c5f Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Wed, 7 Feb 2024 16:06:49 +0100 Subject: [PATCH 2/4] Add the deprecation notice to the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4c7622f..b3fd1f8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +**This package is deprecated and will not be maintained anymore, as the functionality of Fenrir.jl is now implemented in [ProbNumDiffEq.jl](https://github.com/nathanaelbosch/ProbNumDiffEq.jl). Just use [ProbNumDiffEq.jl](https://github.com/nathanaelbosch/ProbNumDiffEq.jl) directy.** + + # Fenrir: Physics-Enhanced Regression for IVPs [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://nathanaelbosch.github.io/Fenrir.jl/stable) From cd548d3725f650a0fcf8ab6503bd4b8c24b92812 Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Wed, 7 Feb 2024 16:16:09 +0100 Subject: [PATCH 3/4] Set an upper bound for the Julia compat --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9d85732..7f164d8 100644 --- a/Project.toml +++ b/Project.toml @@ -16,7 +16,7 @@ LinearAlgebra = "1" ProbNumDiffEq = "0.11,0.12,0.13" SimpleUnPack = "1" Statistics = "1" -julia = "1.7" +julia = "1.7-1.10" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" From 8665d8193d364d7b3aeed556062e24ad159160c7 Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Wed, 7 Feb 2024 16:21:01 +0100 Subject: [PATCH 4/4] Fix compat issue --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 7f164d8..bdcf94c 100644 --- a/Project.toml +++ b/Project.toml @@ -16,7 +16,7 @@ LinearAlgebra = "1" ProbNumDiffEq = "0.11,0.12,0.13" SimpleUnPack = "1" Statistics = "1" -julia = "1.7-1.10" +julia = "1.7 - 1.10" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"