diff --git a/faststream/utils/functions.py b/faststream/utils/functions.py index 453c70ffc7..685ab7da90 100644 --- a/faststream/utils/functions.py +++ b/faststream/utils/functions.py @@ -60,7 +60,7 @@ def timeout_scope( raise_timeout: bool = False, ) -> ContextManager[anyio.CancelScope]: scope: Callable[[Optional[float]], ContextManager[anyio.CancelScope]] - scope = anyio.fail_after if raise_timeout else anyio.move_on_after # type: ignore[assignment] + scope = anyio.fail_after if raise_timeout else anyio.move_on_after return scope(timeout) diff --git a/pyproject.toml b/pyproject.toml index 9c070bc318..10d7a66092 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,15 +87,15 @@ cli = [ optionals = ["faststream[rabbit,kafka,confluent,nats,redis,otel,cli]"] devdocs = [ - "mkdocs-material==9.5.39", + "mkdocs-material==9.5.40", "mkdocs-static-i18n==1.2.3", "mdx-include==1.4.2", - "mkdocstrings[python]==0.26.1", + "mkdocstrings[python]==0.26.2", "mkdocs-literate-nav==0.6.1", "mkdocs-git-revision-date-localized-plugin==1.2.9", "mike==2.1.3", # versioning "mkdocs-minify-plugin==0.8.0", - "mkdocs-macros-plugin==1.2.0", # includes with variables + "mkdocs-macros-plugin==1.3.5", # includes with variables "mkdocs-glightbox==0.4.0", # img zoom "pillow", # required for mkdocs-glightbo "cairosvg", # required for mkdocs-glightbo @@ -104,7 +104,7 @@ devdocs = [ types = [ "faststream[optionals]", - "mypy==1.11.2", + "mypy==1.12.0", # mypy extensions "types-Deprecated", "types-PyYAML", @@ -120,12 +120,13 @@ lint = [ "faststream[types]", "ruff==0.6.9", "bandit==1.7.10", - "semgrep==1.90.0", + "semgrep==1.91.0", "codespell==2.3.0", ] test-core = [ - "coverage[toml]==7.6.1", + "coverage[toml]==7.6.1; python_version == '3.8'", + "coverage[toml]==7.6.3; python_version >= '3.9'", "pytest==8.3.3", "pytest-asyncio==0.24.0", "dirty-equals==0.8.0", @@ -134,7 +135,7 @@ test-core = [ testing = [ "faststream[test-core]", - "fastapi==0.115.0", + "fastapi==0.115.2", "pydantic-settings>=2.0.0,<3.0.0", "httpx==0.27.2", "PyYAML==6.0.2", @@ -144,7 +145,7 @@ testing = [ dev = [ "faststream[optionals,lint,testing,devdocs]", "pre-commit==3.5.0; python_version < '3.9'", - "pre-commit==4.0.0; python_version >= '3.9'", + "pre-commit==4.0.1; python_version >= '3.9'", "detect-secrets==1.5.0", ]