Conversation
|
Some tests are failing, maybe is too early for requiring at least sklearn 1.4.0? |
|
Thanks for this? Do you know what version change was implemented in? |
I am not sure I understand the question. Can confirm that the info in my original comment does not already answer it? |
|
Sorry - should have read better🤦🏾♂️ I think the issue is that we need to change to python ^3.9: https://github.com/sustainable-processes/summit/actions/runs/11406460445/job/31740294173?pr=271 This can be done in |
|
I think this needs to also be changed: summit/.github/workflows/ci.yml Line 43 in 1de682d |
Done. Now I observed a failure as this line does not provide to I have no idea of what that is. But it accepts a None value, so I am going to try with that. Please advise if None here is a bad idea. |
I think you need to pass an empty dictionary? i.e., |
|
Now it fails as we are providing a dict for scorer but scorer cannot be a dict anymore since this edit: They moved the dict conversion code to these lines: The change happened with sklearn 1.5.0. |
…n._score so we have to do it
|
There is still one error that gets raised at these lines: And it happens when running the example from |
|
I think that example should just be removed - sorry for the slow response and thanks for working through this! |
|
Thank you indeed for the very useful and open source tool :D |
|
Do you want to remove the LogSpaceObjectives docstring example? I would do it on another PR but that would fail because of the other issues in this PR not being fixed |
|
In the previous step, the But now the tests are failing for a weird new reason: |
|
In the workflow run there are some warnings that maybe are useful for identifying the error: |
|
Ahh I see - I'll put in fixes for these tomorrow. Thanks! After that, you should be able to rebase on top |
In sklearn 1.4.0,
sklearn.utils.validation._check_fit_paramshas been renamed tosklearn.utils.validation._check_method_params, with this commit.sklearn.utils.fixes.delayedhas been moved tosklearn.utils.parallel.delayed(in sklearn 1.3?) and the pointer that remained in fixes was finally removed in 1.5.0.