-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
Drop usage of WhoHas
& WhatHas
from Client
#4863
Conversation
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 think we need to comment out / revert these checks too
distributed/distributed/tests/test_client.py
Lines 3633 to 3634 in 93e2869
assert type(who_has) is WhoHas | |
assert type(has_what) is HasWhat |
Thanks marked that FWIW here's a CI log where we were seeing this issue, which traces back to here in cuML: > return WhoHas(result)
07:29:48 E TypeError: 'coroutine' object is not iterable Dante and I have been trying to reproduce with variations of this: from time import sleep
from distributed import Client
def inc(i):
sleep(60)
return i + 1
async with Client(asynchronous=True, n_workers=1) as c:
f = c.submit(inc, 0)
d = await c.who_has(f.key)
print(d) However we haven't quite narrowed down a reproducer. Guessing something like that would trigger the error. Though there is likely something simple we are overlooking. Sorry this isn't more helpful. Hopefully that at least gives some context though 🙂 |
Hmm that's interesting, it looks like |
Yeah it's odd. Also confused as to why we haven't been able to reproduce it. That makes sense. I think for now we are ok just reverting, but happy to try that after the release |
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.
The changes here look good for getting the release out today. @jakirkham could you remove the draft status of this PR when you're ready for it to be merged?
Should be good to go. Sorry we were just testing on our end to make sure things were cleared up |
FWIW this CI log shows the issue is fixed 🎉 |
PR ( #4853 ) ran into some issues, which was largely reverted by PR ( #4860 ). However there are some lingering issues, this tries to revert the remaining pieces.
cc @dantegd @quasiben @jrbourbeau
black distributed
/flake8 distributed
/isort distributed