-
Notifications
You must be signed in to change notification settings - Fork 253
Add support to dill serializer #406
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
base: main
Are you sure you want to change the base?
Conversation
I can't seem to find the requirements file to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking of compatibility between dill and pickle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
Fixes #405.
Must be merged along with celery/celery#9100