From 9e6339f6fa07afbb1f34b62ad136168f254332ae Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 20 Sep 2026 17:21:49 +0300 Subject: [PATCH] fix(deps): raise the redis and typing-extensions floors, declare pydantic's redis >=5.0 resolves to a release without Redis.aclose, which the broker calls on teardown; 5.0.1 added it. typing-extensions 4.12.0 is below what pydantic requires on 3.13+, which drags pydantic back to a build whose pydantic-core has no cp314 wheel. Closes #88 --- pyproject.toml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 050d16b..6283ad2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,15 @@ classifiers = [ ] dependencies = [ "faststream>=0.7.6,<0.8", - "redis>=5.0", - "typing-extensions>=4.12.0", + # 5.0.1 is the first release with Redis.aclose, which the broker calls on teardown. + "redis>=5.0.1", + # Not imported here: faststream pulls pydantic through fast-depends[pydantic], and pydantic-core + # ships no cp314 wheel before pydantic 2.12, so the lowest declared combination has no + # installable pydantic on 3.14. + "pydantic>=2.12; python_version >= '3.14'", + # 4.12.2, not 4.12.0: pydantic requires >=4.12.2 on 3.13+, and pinning 4.12.0 drags pydantic + # back to a build whose pydantic-core has no cp313 wheel either. + "typing-extensions>=4.12.2", ] [dependency-groups]