JuliaAI / MLJModelInterface.jl

Lightweight package to interface with MLJ
MIT License
37 stars 8 forks source link

fix method ambiguity with Base.in in julia nightly Version 1.12.0-DEV…514 #200

Open OkonSamuel opened 5 months ago

OkonSamuel commented 5 months ago

This is needed to fix some failing test in another package. See https://github.com/JuliaAI/FeatureSelection.jl/actions/runs/9059544029/job/24887362493?pr=5#step:6:523

ablaom commented 5 months ago

I'm happy to approve this PR after appropriate testing (see below). However, it's is essentially a patch on top of a hack, for which I am personally to blame. That said, I think there is a fair chance that the overloading of in for MLJType (which is at least 3 years old, according to the blame) was rendered redundant when I refactored the learning networks code. The only way to find out for sure, would be to remove it and locally run

Is this something you would consider doing? Even if we accept the current PR, we probably want to run those tests anyway, so it's the same work really.