Skip to content

Fix pickle compatibility for Python 3.14#12206

Merged
crusaderky merged 5 commits intodask:mainfrom
mrocklin:pickle-python-3.14
Dec 30, 2025
Merged

Fix pickle compatibility for Python 3.14#12206
crusaderky merged 5 commits intodask:mainfrom
mrocklin:pickle-python-3.14

Conversation

@mrocklin
Copy link
Copy Markdown
Member

Tests were failing for Python 3.14 on a fresh install.

  • Handle PicklingError in test helper when falling back to cloudpickle
  • Remove deepcopy of itertools objects in bag repartition (no longer supported in 3.14)
  • Relax test_map_total_mem_usage for list over-allocation differences

- Handle PicklingError in test helper when falling back to cloudpickle
- Remove deepcopy of itertools objects in bag repartition (no longer supported in 3.14)
- Relax test_map_total_mem_usage for list over-allocation differences

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 20, 2025

Unit Test Results

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

     15 files  +     3       15 suites  +3   4h 53m 23s ⏱️ + 51m 20s
 18 161 tests +     1   16 945 ✅ ±     0   1 216 💤 +    1  0 ❌ ±0 
271 003 runs  +54 222  251 118 ✅ +50 155  19 885 💤 +4 067  0 ❌ ±0 

Results for commit 890f9f8. ± Comparison against base commit 08ecad3.

♻️ This comment has been updated with latest results.

@mrocklin
Copy link
Copy Markdown
Member Author

It looks like I'm failing a codecov check. Is that my fault / important? If we're not using it to screen PRs then I suggest that we remove it to make this a little more welcoming. As someone who's been out of the project for a while it looks like I need to go and do something because of that. I suspect that that's actually not the case though.

mrocklin and others added 2 commits December 20, 2025 17:09
Excludes crick and tiledb-py which lack 3.14 builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@crusaderky
Copy link
Copy Markdown
Collaborator

codecov looks quite broken. It should be fixed but it's not a blocker for this PR.

@crusaderky
Copy link
Copy Markdown
Collaborator

crusaderky commented Dec 30, 2025

@crusaderky crusaderky merged commit 037cb2d into dask:main Dec 30, 2025
30 of 31 checks passed
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.

3 participants