LITE-33583: Add Python 3.13 and 3.14 to the test matrix#88
Merged
Conversation
Extend the CI build matrix and PyPI trove classifiers to cover Python 3.13 and 3.14. Two runtime issues surfaced on the new versions and are fixed here: - Python 3.13+ enforces that an object returned by __iter__ must itself be a proper iterator (i.e. define __iter__). AbstractIterator and AbstractAsyncIterator only defined __next__/__anext__, so iterating a ResourceSet raised 'ResourceIterator object is not iterable'. Add __iter__/__aiter__ returning self. - httpcore 1.0.6 crashed at import on Python 3.14 (setting __module__ on typing.Union). Bump httpcore 1.0.6 -> 1.0.9 (and h11 0.14 -> 0.16) in the lock file; both are transitive deps, so no pyproject change needed. All 407 tests pass on 3.12, 3.13 and 3.14.
qarlosh
approved these changes
Jul 2, 2026
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.
Summary
Extends the CI build matrix and PyPI trove classifiers to cover Python 3.13 and 3.14.
Merge first PR 86 (this depends on its httpx/pytest-httpx bump).
Changes
.github/workflows/build.yml— matrix now['3.10', '3.11', '3.12', '3.13', '3.14']pyproject.toml— added 3.13/3.14 trove classifiersconnect/client/models/iterators.py— added__iter__/__aiter__returningselftoAbstractIterator/AbstractAsyncIterator. Python 3.13+ enforces that the object returned by__iter__must itself be a proper iterator; without this, iterating aResourceSetraisedTypeError: 'ResourceIterator' object is not iterable.poetry.lock— bumpedhttpcore1.0.6 → 1.0.9 (andh110.14 → 0.16). httpcore 1.0.6 crashed at import on Python 3.14. Both are transitive deps, so nopyprojectpin change.Testing
All 407 tests pass on Python 3.12, 3.13 and 3.14; flake8 clean on source.