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]