Skip to content

fix: add sniffio as depndency#4522

Merged
provinzkraut merged 1 commit intolitestar-org:v2from
JCHacking:v2
Dec 12, 2025
Merged

fix: add sniffio as depndency#4522
provinzkraut merged 1 commit intolitestar-org:v2from
JCHacking:v2

Conversation

@JCHacking
Copy link
Copy Markdown

@JCHacking JCHacking commented Dec 12, 2025

Backport fix sniffio dependency

Fixes #4505

anyio>=4.5.0 no longer depends on sniffio as a separate package,
instead bundling the functionality internally. This adds a fallback
import to use anyio's bundled sniffio when the standalone package
is not installed.

Fixes #4505
@JCHacking JCHacking requested review from a team as code owners December 12, 2025 09:19
@github-actions github-actions bot added area/dependencies This PR involves changes to the dependencies size: small type/bug pr/external Triage Required 🏥 This requires triage labels Dec 12, 2025
@provinzkraut provinzkraut merged commit 4f2d50e into litestar-org:v2 Dec 12, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies This PR involves changes to the dependencies pr/external size: small Triage Required 🏥 This requires triage type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants