You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue:
After upgrade to distributed 2023.7.0 (and also 2023.7.1) tests started failing with the following error:
ERROR test_publish_dataset.py::test_submit_future_with_resources - ValueError: <Token var=<ContextVar name='_current_client' default=None at 0x7f13e2dbb330> at 0x7f13e206a940> was created in a different Context
This happens in the provided code when the client is closed in the pytest fixture.
I already had another issue regarding the resources that are broken (see #7859). But this came as an additional issue with 2023.7. I am not sure how I should modify the code to solve this or if this is a real issue that should be fixed on the dask library side?
@sanderegg: Thanks for reporting this issue. This appears to be a duplicate of #7984, which contains some guidance on how to avoid the problem. I would suggest moving further conversation over to that issue and will therefore close this for now.
Describe the issue:
After upgrade to distributed 2023.7.0 (and also 2023.7.1) tests started failing with the following error:
This happens in the provided code when the client is closed in the pytest fixture.
I already had another issue regarding the resources that are broken (see #7859). But this came as an additional issue with 2023.7. I am not sure how I should modify the code to solve this or if this is a real issue that should be fixed on the dask library side?
Minimal Complete Verifiable Example:
Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: