Skip to content
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

MTN deterministic co_filename for dynamic code pickling #560

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

tomMoral
Copy link
Contributor

@tomMoral tomMoral commented Mar 21, 2025

Set the co_filename to <dynamic-code> when pickling the code object to make the payload independent of where the code was defined.

TODO:

  • add test
  • add changelog

Fix #538

Copy link

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.71%. Comparing base (8b82151) to head (2810106).
Report is 2 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (8b82151) and HEAD (2810106). Click for more details.

HEAD has 9 uploads less than BASE
Flag BASE (8b82151) HEAD (2810106)
19 10
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #560      +/-   ##
==========================================
- Coverage   96.34%   88.71%   -7.64%     
==========================================
  Files           3        3              
  Lines         575      576       +1     
  Branches      121      121              
==========================================
- Hits          554      511      -43     
- Misses         11       51      +40     
- Partials       10       14       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea on how to debug the random failure but I found a typo...

@tomMoral
Copy link
Contributor Author

The failure is deterministic and only happening on windows and on this branch (see #562 running from master and working).
Not sure how to debug either...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cloudpickle is not stable in notebooks
3 participants