Add support to dill serializer#406
Conversation
|
I can't seem to find the requirements file to add |
auvipy
left a comment
There was a problem hiding this comment.
I'm thinking of compatibility between dill and pickle
auvipy
left a comment
There was a problem hiding this comment.
E ModuleNotFoundError: No module named 'dill'
|
Yes, as I've stated in my previous comment, I've failed to locate the requirements file. I haven't been able to include |
|
Converting to draft until the PR is ready and working. Thank you 🙏 |
I am currently searching for the place to add the |
|
According to the test suite, it seems it is ready for review. Please tell me if it isn't! |
Nusnus
left a comment
There was a problem hiding this comment.
It appears this PR only changes the default from pickle to dill, but the matching celery PR celery/celery#9100 is where the dill is actually “requested”.
Shouldn’t the celery use-case be enough so the billiard changes won’t be needed?
This is a follow-up to my other comment: https://github.com/celery/billiard/pull/406/files#r1663972900
It is necessary to have the Line 444 in 81cc942 This is what led me to also modify the billiard deserializer.
|
auvipy
left a comment
There was a problem hiding this comment.
wah I can see that the CI is passing and there are unit tests added! but are the unit tests running in the CI? can you also add/update some unit tests?
As the test was implemented the same way as the others, and in an already existing file, it indeed should be running the same way as the others.
What additional tests would you like me to add? I must also say that I do not understand the pre-commit error? Is it related to this PR or is it a more global issue? |
|
You can ignore the precommit error for now. Btw, why dill and not cloudpickle? Im curious |
|
I had no strong feelings towards one or the other, I first found out about On a side note, I currently try to fix the related PR in celery for PyPy. |
|
yeah please, focus on the celery pypy fix please |
Fixes #405.
Must be merged along with celery/celery#9100