Repository navigation
Add Python 3.14 support - #20195
Add Python 3.14 support#20195
Conversation
Coverage Report for CI Build 25567115061Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage decreased (-0.09%) to 91.252%Details
Uncovered Changes
Coverage Regressions107 previously-covered lines in 29 files lost coverage.
Coverage Stats💛 - Coveralls |
|
close and reopen for latest |
Added a new warning to ignore for unclosed database resources.
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 45b7cb6. Configure here.
|

Add python 3.14 support.
Current status: Runs fine - ready for review
Draft For:
test_limits_connections(pytest -s -n0 -k test_limits_connections) (fbc2664)Note
Medium Risk
Mostly compatibility and test/cleanup changes, but it touches event loop policy selection and a few shutdown/sync paths (
ChiaPolicy, timelord, node discovery) that could affect runtime behavior under load or during shutdown.Overview
Adds Python 3.14 support by expanding CI matrices (pre-commit/tests/wheel checks/mypy) and updating
install.sh/Install.ps1to prefer/allow 3.14.Improves asyncio/transport compatibility for 3.14 by updating
ChiaPolicyto use the new base policy class, and adjusts tests for changed error messages and deprecation warnings.Hardens resource management and shutdown behavior: closes aiohttp sessions/websockets and RPC clients more consistently, adds a safer timelord VDF client shutdown sequence, waits for node-discovery tasks to finish on close, fixes temp file handling, and adds Windows-safe temp directory cleanup retries.
Reviewed by Cursor Bugbot for commit 45b7cb6. Bugbot is set up for automated code reviews on this repo. Configure here.