Skip to content

FIX: MemorizedResult not picklable#752

Merged
ogrisel merged 2 commits intojoblib:masterfrom
aabadie:memorized_result_pickle_fix
Aug 22, 2018
Merged

FIX: MemorizedResult not picklable#752
ogrisel merged 2 commits intojoblib:masterfrom
aabadie:memorized_result_pickle_fix

Conversation

@aabadie
Copy link
Copy Markdown
Contributor

@aabadie aabadie commented Aug 22, 2018

Fix #747

Just restoring how the func attribute of MemorizedResult is set. The MemorizedResult representation is the same between 0.11 and this PR.

Copy link
Copy Markdown
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.

LGTM, can you please add an entry to the changelog?

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 22, 2018

Codecov Report

Merging #752 into master will increase coverage by 0.05%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #752      +/-   ##
==========================================
+ Coverage   95.37%   95.43%   +0.05%     
==========================================
  Files          43       43              
  Lines        6147     6160      +13     
==========================================
+ Hits         5863     5879      +16     
+ Misses        284      281       -3
Impacted Files Coverage Δ
joblib/test/test_memory.py 97.95% <100%> (+0.04%) ⬆️
joblib/memory.py 95.75% <100%> (+0.3%) ⬆️
joblib/_parallel_backends.py 98% <0%> (+0.79%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74c357a...0920556. Read the comment docs.

@aabadie aabadie force-pushed the memorized_result_pickle_fix branch from 188d155 to 0920556 Compare August 22, 2018 10:40
@aabadie
Copy link
Copy Markdown
Contributor Author

aabadie commented Aug 22, 2018

can you please add an entry to the changelog?

Done

@ogrisel ogrisel merged commit 6ce40a7 into joblib:master Aug 22, 2018
@ogrisel
Copy link
Copy Markdown
Contributor

ogrisel commented Aug 22, 2018

Thanks @aabadie!

yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Sep 4, 2018
* tag '0.12.3': (23 commits)
  Release 0.12.3
  Loky 2.2.1 (joblib#760)
  FIX: FileSystemStoreBackend string representation only returning location (path) (joblib#765)
  Add optional dependency on psutil
  MAINT remove brittle time based assertion in test (joblib#761)
  Fix a bug in nesting level computation with FallbackToBackend(SequentialBackend()) (joblib#759)
  Make docstring more consistent with project style
  Improved performance of call_and_shelve (joblib#757)
  Better test name
  Fix default context handling (joblib#754)
  cloudpickle 0.5.5 (joblib#756)
  Fixed error where filter args was consuming kwargs (joblib#750)
  FIX pickle roundtrip for Memory and related classes. (joblib#746)
  test that passes but timeout appveyor because of unclosed semaphore tracker (joblib#676)
  DOC: fine tune compressor example dataset size for ReadTheDocs (joblib#753)
  FIX: MemorizedResult not picklable (joblib#752)
  [MRG] Better message with py27 when lz4 is not installed (joblib#740)
  MNT remove mutable default value for backend_options parameter (joblib#748)
  MNT create test file for _store_backends module (joblib#749)
  DOC consistently use memory rather than mem in memory.rst (joblib#744)
  ...
yarikoptic added a commit to yarikoptic/joblib that referenced this pull request Sep 4, 2018
* releases: (23 commits)
  Release 0.12.3
  Loky 2.2.1 (joblib#760)
  FIX: FileSystemStoreBackend string representation only returning location (path) (joblib#765)
  Add optional dependency on psutil
  MAINT remove brittle time based assertion in test (joblib#761)
  Fix a bug in nesting level computation with FallbackToBackend(SequentialBackend()) (joblib#759)
  Make docstring more consistent with project style
  Improved performance of call_and_shelve (joblib#757)
  Better test name
  Fix default context handling (joblib#754)
  cloudpickle 0.5.5 (joblib#756)
  Fixed error where filter args was consuming kwargs (joblib#750)
  FIX pickle roundtrip for Memory and related classes. (joblib#746)
  test that passes but timeout appveyor because of unclosed semaphore tracker (joblib#676)
  DOC: fine tune compressor example dataset size for ReadTheDocs (joblib#753)
  FIX: MemorizedResult not picklable (joblib#752)
  [MRG] Better message with py27 when lz4 is not installed (joblib#740)
  MNT remove mutable default value for backend_options parameter (joblib#748)
  MNT create test file for _store_backends module (joblib#749)
  DOC consistently use memory rather than mem in memory.rst (joblib#744)
  ...
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.

2 participants