From bb7a0e0088c09260ba245add6f1ef88c420d54aa Mon Sep 17 00:00:00 2001 From: Bryan Kaperick Date: Tue, 15 Apr 2025 12:35:20 +0200 Subject: [PATCH 1/3] replace broken links --- src/metadata_utils.jl | 2 +- src/model_api.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/metadata_utils.jl b/src/metadata_utils.jl index 781adce..6a41ad6 100644 --- a/src/metadata_utils.jl +++ b/src/metadata_utils.jl @@ -71,7 +71,7 @@ depwarn_docstring(T) = Regarding $T: `metadata_model` should not be called with the keyword argument `descr` or `docstring`. Implementers of the MLJ model interface should instead create an MLJ-compliant docstring in the usual way. See - https://alan-turing-institute.github.io/MLJ.jl/dev/adding_models_for_general_use/#Document-strings + https://juliaai.github.io/MLJ.jl/dev/adding_models_for_general_use/#Document-strings for details. """ diff --git a/src/model_api.jl b/src/model_api.jl index 5f62f91..d9a85b0 100644 --- a/src/model_api.jl +++ b/src/model_api.jl @@ -47,7 +47,7 @@ The following trait overload is also required: training_losses(model, report) = nothing # to support online learning in the future: -# https://github.com/alan-turing-institute/MLJ.jl/issues/60 : +# https://github.com/JuliaAI/MLJ.jl/issues/60 : function update_data end """ @@ -67,7 +67,7 @@ the model-specific representations of the data. To implement the `reformat` data front-end for a model, refer to "Implementing a data front-end" in the [MLJ -manual](https://alan-turing-institute.github.io/MLJ.jl/dev/adding_models_for_general_use/). +manual](https://juliaai.github.io/MLJ.jl/dev/adding_models_for_general_use/). """ From 78c84b248495fbc4386df8b3f9e118b0c15bba55 Mon Sep 17 00:00:00 2001 From: anthony Date: Fri, 18 Apr 2025 09:54:42 +1200 Subject: [PATCH 2/3] update actions/cache -> julia-actions/cache --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 841d664..16d5836 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: julia-actions/cache@v1 env: cache-name: cache-artifacts with: @@ -63,4 +63,4 @@ jobs: using Documenter: DocMeta, doctest using MLJModelInterface DocMeta.setdocmeta!(MLJModelInterface, :DocTestSetup, :(using MLJModelInterface); recursive=true) - doctest(MLJModelInterface)' \ No newline at end of file + doctest(MLJModelInterface)' From 8eed5701394aca897e3c04dd46459cceea69d291 Mon Sep 17 00:00:00 2001 From: anthony Date: Fri, 18 Apr 2025 10:33:22 +1200 Subject: [PATCH 3/3] add REPL as dep to address Base.Docs.doc issue --- Project.toml | 2 ++ src/MLJModelInterface.jl | 1 + 2 files changed, 3 insertions(+) diff --git a/Project.toml b/Project.toml index 5a7380f..ce4934a 100644 --- a/Project.toml +++ b/Project.toml @@ -4,6 +4,7 @@ authors = ["Thibaut Lienart and Anthony Blaom"] version = "1.11.0" [deps] +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161" StatisticalTraits = "64bff920-2084-43da-a3e6-9bb72801c0c9" @@ -16,6 +17,7 @@ Distances = "0.10" InteractiveUtils = "<0.0.1, 1" Markdown = "<0.0.1, 1" OrderedCollections = "1" +REPL = "<0.0.1, 1" Random = "<0.0.1, 1" ScientificTypes = "3" ScientificTypesBase = "3" diff --git a/src/MLJModelInterface.jl b/src/MLJModelInterface.jl index e42c371..f4aa890 100644 --- a/src/MLJModelInterface.jl +++ b/src/MLJModelInterface.jl @@ -63,6 +63,7 @@ const ABSTRACT_MODEL_SUBTYPES = [ using ScientificTypesBase using StatisticalTraits using Random +using REPL # apparently needed to get Base.Docs.doc to work import StatisticalTraits: info