Skip to content

LITE-33583: Add Python 3.13 and 3.14 to the test matrix#88

Merged
pcaro merged 1 commit into
cr/LITE-deps-bump-py310from
cr/LITE-py313-py314-matrix
Jul 2, 2026
Merged

LITE-33583: Add Python 3.13 and 3.14 to the test matrix#88
pcaro merged 1 commit into
cr/LITE-deps-bump-py310from
cr/LITE-py313-py314-matrix

Conversation

@pcaro

@pcaro pcaro commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

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 classifiers
  • connect/client/models/iterators.py — added __iter__/__aiter__ returning self to AbstractIterator/AbstractAsyncIterator. Python 3.13+ enforces that the object returned by __iter__ must itself be a proper iterator; without this, iterating a ResourceSet raised TypeError: 'ResourceIterator' object is not iterable.
  • poetry.lock — bumped httpcore 1.0.6 → 1.0.9 (and h11 0.14 → 0.16). httpcore 1.0.6 crashed at import on Python 3.14. Both are transitive deps, so no pyproject pin change.

Testing

All 407 tests pass on Python 3.12, 3.13 and 3.14; flake8 clean on source.

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.
@pcaro pcaro changed the title ci(python): add Python 3.13 and 3.14 to the test matrix LITE-33583: Add Python 3.13 and 3.14 to the test matrix Jul 2, 2026
@pcaro pcaro merged commit 243cca5 into cr/LITE-deps-bump-py310 Jul 2, 2026
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.

2 participants