Skip to content

Clean up deprecations in distributed.compatibility#9232

Merged
jrbourbeau merged 1 commit into
dask:mainfrom
crusaderky:deprecated-compat
May 1, 2026
Merged

Clean up deprecations in distributed.compatibility#9232
jrbourbeau merged 1 commit into
dask:mainfrom
crusaderky:deprecated-compat

Conversation

@crusaderky

@crusaderky crusaderky commented Apr 29, 2026

Copy link
Copy Markdown
Collaborator
  • Remove distributed.compatibility.to_thread and randbytes, which have been deprecated for two years
  • Deprecate distributed.compatibility.PeriodicCallback since distributed now depends on tornado >=6.2

@crusaderky crusaderky added the deprecation Something is being removed label Apr 29, 2026
@github-actions

github-actions Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    31 files  ± 0      31 suites  ±0   11h 10m 12s ⏱️ + 5m 54s
 4 123 tests  -  1   4 014 ✅  -  4    104 💤 ±0  3 ❌ +1  2 🔥 +2 
59 783 runs   - 15  57 303 ✅  - 19  2 474 💤 ±0  4 ❌ +2  2 🔥 +2 

For more details on these failures and errors, see this check.

Results for commit 90b39d7. ± Comparison against base commit d9c0010.

This pull request removes 2 and adds 1 tests. Note that renamed tests count towards both.
distributed.tests.test_compatibility ‑ test_randbytes
distributed.tests.test_compatibility ‑ test_randbytes_seed
distributed.tests.test_compatibility ‑ test_deprecated_periodic_callback

♻️ This comment has been updated with latest results.

@crusaderky crusaderky marked this pull request as ready for review April 29, 2026 23:00
@crusaderky crusaderky changed the title Deprecations in distributed.compatibility Clean up deprecations in distributed.compatibility May 1, 2026
@jrbourbeau jrbourbeau merged commit 7e5fc61 into dask:main May 1, 2026
31 of 37 checks passed
@crusaderky crusaderky deleted the deprecated-compat branch May 1, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation Something is being removed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants