From 5c204f44b25655062eb7802009b3a25c2c44c7c4 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Wed, 1 Apr 2026 12:02:34 +1300 Subject: [PATCH 01/12] fix typo in docs --- docs/src/implementing_a_data_front_end.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/implementing_a_data_front_end.md b/docs/src/implementing_a_data_front_end.md index 9ca214c..e64e79c 100644 --- a/docs/src/implementing_a_data_front_end.md +++ b/docs/src/implementing_a_data_front_end.md @@ -63,7 +63,7 @@ The fallback is `reformat(model, args...) = args` (i.e., slurps provided data). arguments are `reformat`ed versions of user-supplied data. For example, in the supervised case, `data_new` in `predict(model::SomeModelType, fitresult, data_new)` is - `reformat(model, Xnew)`, where `Xnew` is the data provided by the MLJ + `reformat(model, Xnew)[1]`, where `Xnew` is the data provided by the MLJ user in a call `predict(mach, Xnew)` (`mach.model == model`). - To specify how the model-specific representation of data is to be From 2cb875f950d0cef087c21f96e915eeacd8db2d97 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 24 Jul 2026 11:33:13 +1200 Subject: [PATCH 02/12] replace CompatHelper -> dependabot --- .github/dependabot.yml | 13 +++++++++++++ .github/workflows/CompatHelper.yml | 16 ---------------- 2 files changed, 13 insertions(+), 16 deletions(-) create mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c96f35a --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# 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: "monthly" + - package-ecosystem: "julia" + directories: # Location of Julia projects + - "/" + - "/docs" + schedule: + interval: "weekly" diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index 252ef73..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: CompatHelper -on: - schedule: - - cron: 0 0 * * * - workflow_dispatch: -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }} - run: julia -e 'using CompatHelper; CompatHelper.main()' From 0597eb81eee00a6757f249fb41c76e7bfbe047f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:34:23 +0000 Subject: [PATCH 03/12] Bump actions/checkout from 2 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .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 bb31859..4728204 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} @@ -49,7 +49,7 @@ jobs: name: Documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v7 - uses: julia-actions/setup-julia@v1 with: version: '1' From 741c4ff1c9030f62dc96adbc448153abda34dd68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:34:27 +0000 Subject: [PATCH 04/12] Bump codecov/codecov-action from 1 to 7 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 7. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v1...v7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb31859..9aba46a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,7 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v7 with: file: lcov.info docs: From b7a076b7ef422b8b9c8ada8df957834d2e873f9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:34:34 +0000 Subject: [PATCH 05/12] Bump julia-actions/cache from 1 to 3 Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 3. - [Release notes](https://github.com/julia-actions/cache/releases) - [Commits](https://github.com/julia-actions/cache/compare/v1...v3) --- updated-dependencies: - dependency-name: julia-actions/cache dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb31859..1fd9e33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v3 env: cache-name: cache-artifacts with: From beaf19d47c0dcc040cfd50d6e8be604c5cb3557b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:35:06 +0000 Subject: [PATCH 06/12] Update Documenter requirement to 1.17.0 in /docs Updates the requirements on [Documenter](https://github.com/JuliaDocs/Documenter.jl) to permit the latest version. - [Release notes](https://github.com/JuliaDocs/Documenter.jl/releases) - [Changelog](https://github.com/JuliaDocs/Documenter.jl/blob/master/CHANGELOG.md) - [Commits](https://github.com/JuliaDocs/Documenter.jl/compare/v0.1.0...v1.17.0) --- updated-dependencies: - dependency-name: Documenter dependency-version: 1.17.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/Project.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/Project.toml b/docs/Project.toml index 78c87ae..c249556 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,3 +1,6 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" + +[compat] +Documenter = "1.17.0" From 01f41e6d322221266d93218a3231dd4db9bdec4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 23:44:00 +0000 Subject: [PATCH 07/12] Bump julia-actions/setup-julia from 1 to 3 Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 3. - [Release notes](https://github.com/julia-actions/setup-julia/releases) - [Commits](https://github.com/julia-actions/setup-julia/compare/v1...v3) --- updated-dependencies: - dependency-name: julia-actions/setup-julia dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .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 393b873..b62b93c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - x64 steps: - uses: actions/checkout@v7 - - uses: julia-actions/setup-julia@v2 + - uses: julia-actions/setup-julia@v3 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 - - uses: julia-actions/setup-julia@v1 + - uses: julia-actions/setup-julia@v3 with: version: '1' - uses: julia-actions/julia-buildpkg@v1 From 10bfd93dd4553b4c963260b6e8e4b2c9aa0675b4 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 23 Nov 2026 12:09:15 +1300 Subject: [PATCH 08/12] bump 4.0 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6b552d1..7da7a45 100644 --- a/Project.toml +++ b/Project.toml @@ -22,7 +22,7 @@ REPL = "<0.0.1, 1" Random = "<0.0.1, 1" ScientificTypes = "3" ScientificTypesBase = "3" -StatisticalTraits = "3.5" +StatisticalTraits = "3.5, 4.0" Tables = "1" Test = "<0.0.1, 1" julia = "1.6" From 7d2d1ddab28c2fcf6d6c7c29e583dfae16e18ca1 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 23 Nov 2026 12:14:07 +1300 Subject: [PATCH 09/12] extend OrderedCollections = "1,2" --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 7da7a45..b1a70f3 100644 --- a/Project.toml +++ b/Project.toml @@ -17,7 +17,7 @@ DataFrames = "1" Distances = "0.10" InteractiveUtils = "<0.0.1, 1" Markdown = "<0.0.1, 1" -OrderedCollections = "1" +OrderedCollections = "1,2" REPL = "<0.0.1, 1" Random = "<0.0.1, 1" ScientificTypes = "3" From 6d461125a1b94f11be52f096a981f234612ab6d5 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 23 Nov 2026 12:26:41 +1300 Subject: [PATCH 10/12] address method ambiguity detected by Aqua --- src/equality.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/equality.jl b/src/equality.jl index 5b0ed27..ccf3aee 100644 --- a/src/equality.jl +++ b/src/equality.jl @@ -144,8 +144,6 @@ end # equality and a corresponding definition of `in`. Base.isequal(m1::MLJType, m2::MLJType) = (m1 === m2) -# Note: To prevent julia crash, it seems we need to annotate the type -# of itr: function special_in(x, itr)::Union{Bool,Missing} for y in itr ismissing(y) && return missing @@ -154,9 +152,12 @@ function special_in(x, itr)::Union{Bool,Missing} return false end +# Note: To address some method ambiguities, it seems we need to annotate +# the type of itr: Base.in(x::MLJType, itr::Set) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractVector{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractRange{<:MLJType}) = special_in(x, itr) +Base.in(x::MLJType, itr::Base.ReshapedVector{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple{(Any for _ in 1:32)..., Vararg{Any}}) = special_in(x, itr) From 2d949740f0ad7b3c74d86068102a5762e16e754b Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 23 Nov 2026 12:32:46 +1300 Subject: [PATCH 11/12] oops, fix syntax error --- src/equality.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equality.jl b/src/equality.jl index ccf3aee..91857c2 100644 --- a/src/equality.jl +++ b/src/equality.jl @@ -157,7 +157,7 @@ end Base.in(x::MLJType, itr::Set) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractVector{<:MLJType}) = special_in(x, itr) Base.in(x::MLJType, itr::AbstractRange{<:MLJType}) = special_in(x, itr) -Base.in(x::MLJType, itr::Base.ReshapedVector{<:MLJType}) = special_in(x, itr) +Base.in(x::MLJType, itr::Base.ReshapedArray{<:MLJType,1}) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple) = special_in(x, itr) Base.in(x::MLJType, itr::Tuple{(Any for _ in 1:32)..., Vararg{Any}}) = special_in(x, itr) From 05e2f9da91c3b9ee9e77110edd19c336cd9d0c42 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Mon, 23 Nov 2026 12:37:17 +1300 Subject: [PATCH 12/12] bump 1.12.2 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b1a70f3..e4361fa 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJModelInterface" uuid = "e80e1ace-859a-464e-9ed9-23947d8ae3ea" authors = ["Thibaut Lienart and Anthony Blaom"] -version = "1.12.1" +version = "1.12.2" [deps] InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"