Skip to content

fix(deps): raise the redis and typing-extensions floors, declare pydantic's - #89

Merged
lesnik512 merged 1 commit into
mainfrom
fix/dependency-floors
Sep 20, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/dependency-floors

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Closes #88.

Three floors

redis. >=5.0 resolves to a release without Redis.aclose, which the broker calls on teardown:

AttributeError: 'Redis' object has no attribute 'aclose'

5.0.1 added it, bisected against the suite. This one was invisible to an install-only check — everything installs, and only the suite shows it.

typing-extensions. >=4.12.0 is below what pydantic requires on 3.13+, so pinning 4.12.0 drags pydantic back to a build whose pydantic-core has no cp314 wheel. This is the same defect fixed in modern-python/faststream-outbox#185.

pydantic. Reaches this package only through faststream → fast-depends[pydantic], but its floor has to be declared anyway: pydantic-core ships no cp314 wheel before pydantic 2.12.

The issue reported only the typing-extensions half. The other two surfaced once it was raised — a resolver stops at the first wall.

Verification

uv pip install --resolution lowest-direct . then the full suite against Redis 8: 170 passed on 3.11 and 3.14. Lint clean. Normal resolution: 170 passed.

Nothing changes at the top of the range, so this is inert for anyone not installing at the lower bound.

Found by the org-wide lower-bound audit in modern-python/.github#107.

…ntic'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
@lesnik512
lesnik512 merged commit 85292e7 into main Sep 20, 2026
8 checks passed
@lesnik512
lesnik512 deleted the fix/dependency-floors branch September 20, 2026 14:37
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.

The typing-extensions floor does not install on Python 3.14

1 participant