Skip to content

Feat/python 3.11 3.12 support#50

Closed
lesnik512 wants to merge 8 commits into
mainfrom
feat/python-3.11-3.12-support
Closed

Feat/python 3.11 3.12 support#50
lesnik512 wants to merge 8 commits into
mainfrom
feat/python-3.11-3.12-support

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Changes

Checklist

  • Lint and format pass (ruff)
  • Type check passes (ty)
  • Tests pass and new behavior is covered
  • Build succeeds (uv build) if packaging or build config changed
  • Docs updated if behavior or public API changed
  • Repo metadata stays consistent across the three surfaces (GitHub description, pyproject description, profile blurb) if this touches packaging

lesnik512 and others added 8 commits June 29, 2026 21:58
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Backport the PEP 695 type alias and typing.override via typing_extensions,
lower requires-python to >=3.11, add 3.11/3.12 classifiers and ruff target.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
A start_timeout that fires left the spawned _consume polling task running
(add_task happens before the fail_after wait), since the caller never reaches
__aexit__/stop. The orphan kept a Redis connection alive and deadlocked
fixture/event-loop teardown on slow runners (observed as a hang in the new
3.11 CI leg; faster interpreters tore down before the orphan blocked).

start() now cancels and awaits the poll task if the start signal times out,
so a failed start leaves no orphan. Adds a deterministic regression test
asserting no task leaks after a failed start.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lesnik512 lesnik512 closed this Jun 29, 2026
@lesnik512 lesnik512 deleted the feat/python-3.11-3.12-support branch June 29, 2026 20:27
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.

1 participant