Skip to content

deprecate the io_loop and loop kwarg to Server, Worker, and Nanny #6473

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

Conversation

graingert
Copy link
Member

@graingert graingert commented May 30, 2022

passing anything other than IOLoop.current() is already unsupported: see #6443 (comment)

Refs #6163

  • Tests added / passed
  • Passes pre-commit run --all-files

passing anything other than IOLoop.current() is already unsupported:

see dask#6443 (comment)
@github-actions
Copy link
Contributor

github-actions bot commented May 30, 2022

Unit Test Results

       15 files  ±0         15 suites  ±0   6h 30m 4s ⏱️ + 23m 8s
  2 824 tests +1    2 740 ✔️ ±0    82 💤 +1  2 ±0 
20 932 runs  +8  19 984 ✔️ +9  946 💤 ±0  2  - 1 

For more details on these failures, see this check.

Results for commit 476f40b. ± Comparison against base commit 715d7be.

♻️ This comment has been updated with latest results.

@graingert graingert requested review from fjetter and gjoseph92 May 31, 2022 13:32
@mrocklin
Copy link
Member

Fine by me. cc @jacobtomlinson to keep him in the loop

Comment on lines 894 to 895
if loop is not None:
warnings.warn("the loop kwarg to start_cluster is deprecated")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this is an internal test function, it seems better to me to just remove the argument now without a deprecation warning.

Co-authored-by: Gabe Joseph <gjoseph92@gmail.com>
@graingert graingert requested a review from gjoseph92 June 1, 2022 09:43
@graingert graingert force-pushed the deprecate-io_loop-and-loop-kwarg-to-server-worker-and-nanny branch from 12ace1f to 476f40b Compare June 1, 2022 12:58
Copy link
Member

@fjetter fjetter left a comment

Choose a reason for hiding this comment

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

Pending green-ish CI, we're good to go

@graingert graingert requested a review from fjetter June 1, 2022 21:22
@graingert
Copy link
Member Author

graingert commented Jun 6, 2022

@fjetter

ubuntu-latest 3.9 not c1: #6510 new seems to be related to the connection retry behaviour - and not related to this change
windows-latest 3.9 not c1: #6452
windows-latest 3.10 not c1: #6305

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.

4 participants