Add full Python 3.14 compatibility support#699
Open
freyes wants to merge 1 commit into
Open
Conversation
Update asyncio loop handling and lifecycle cleanup paths to support Python 3.14 behavior changes. Changes included: - Added safe event-loop helpers in zaza.__init__ to create/reuse local loops when no current loop exists - Guarded child-watcher attach/detach usage for runtimes where asyncio.get_child_watcher is unavailable - Replaced direct asyncio.get_event_loop().close() calls in lifecycle entry points with zaza.close_local_event_loop() - Added explicit py314 tox environment and included it in tox envlist - Added Python 3.14 trove classifier in package metadata Validation: - tox -e py3 (Python 3.14.4): 725 passed, 2 skipped - tox -e py314: 725 passed, 2 skipped Assisted-by: GitHub Copilot (GPT-5.3-Codex)
gboutry
reviewed
Jun 23, 2026
| Topic :: System :: Installation/Setup | ||
| Topic :: System :: Software Distribution | ||
| Programming Language :: Python :: 3 | ||
| Programming Language :: Python :: 3.14 |
Contributor
There was a problem hiding this comment.
Do we need this?
Do the changes make this incompatible with earlier supported versions?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update asyncio loop handling and lifecycle cleanup paths to support Python 3.14 behavior changes.
Changes included:
Validation:
Assisted-by: GitHub Copilot (GPT-5.3-Codex)