Skip to content

pickle_loads(): Handle empty memoryview#4595

Merged
jakirkham merged 1 commit into
dask:mainfrom
madsbk:pickle_dumps_empty_memoryview
Mar 18, 2021
Merged

pickle_loads(): Handle empty memoryview#4595
jakirkham merged 1 commit into
dask:mainfrom
madsbk:pickle_dumps_empty_memoryview

Conversation

@madsbk

@madsbk madsbk commented Mar 17, 2021

Copy link
Copy Markdown
Contributor

Fixes #4594

  • Tests added / passed
  • Passes black distributed / flake8 distributed

@quasiben quasiben left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @madsbk

@quasiben

Copy link
Copy Markdown
Member

3.9 failed -- I kicked the CI and if tests pass I'll merge

@quasiben

Copy link
Copy Markdown
Member

The 3.8 test failed this time on:

distributed/tests/test_variable.py::test_race

https://github.com/dask/distributed/pull/4595/checks?check_run_id=2131423616#step:10:1704

@jakirkham jakirkham merged commit a7df3ca into dask:main Mar 18, 2021
@jakirkham

Copy link
Copy Markdown
Member

Thanks Mads! 😄

@jakirkham

Copy link
Copy Markdown
Member

Yeah I saw a couple sporadic fails, but they didn't appear to be consistent on platform, Python version, or even which test. None of them appeared related to the change. We have several known ones here ( https://github.com/dask/distributed/issues?q=is%3Aissue+is%3Aopen+label%3A%22flaky+test%22 ). This one sounds new, but don't see how it would be related to this change and didn't seem to pop back up. We can keep an eye out for it though

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.

TypeError: memoryview: cannot cast view with zeros in shape or strides

3 participants