-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Fail to pickle SplineTransformer
with scipy==1.15.0rc1
#30512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmmm no suggestion off the top of my head, my wild guess would be that it is a scipy regression when using memmap. If that's indeed the case it would be very useful to report it to scipy before they do their 1.15 release. |
Thanks @lesteve , I will try to make a minimal reproducible example for them and report the issue before the release. Edit: scipy#22143 to track its status |
Nice, thanks a lot! Side-comment: I would have expected that we run this as part of our CI. Since we run against all development versions of our dependencies including scipy we should have caught this a while ago, this is quite surprising. |
It looks like we are xfailing the relevant test:
At the end of the output:
So 🤔 looks like it did not work originally in scipy #25624 and then was fixed in scipy scipy/scipy#18153 but we never reenabled the test. And now scipy 1.15dev breaks it again. What a wonderful world we live in 😅 |
I opened #30515 to un-xfail the |
Thanks @lesteve , you saved the day both here and in the scipy discussion! Big kudos! Feel free to close this issue whenever you feel right. Hopefully the fix will happen in scipy before the release 🤞🏼 |
Thanks for the report and helping with putting together a reproducer! |
Closed by #30515, thanks for the report and the help @FBruzzesi! That allowed to pick up a scipy small bug before the scipy 1.15 release and improve our CI by enabling the test again! |
Describe the bug
Spotted in scikit-lego, running
check_estimators_pickle
fails withSplineTransformer
andreadonly_memmap=True
.cc: @koaning
Steps/Code to Reproduce
Expected Results
Not to raise
Actual Results
Versions
The text was updated successfully, but these errors were encountered: