Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false

steps:
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ dev = [
{include-group = "docs"},
"pre-commit==4.5.1",
"detect-secrets==1.5.0",
"pytest-codspeed>=2.2.1",
"pytest-codspeed>=4.3.0",
"setuptools>=80.9.0",
]

Expand All @@ -170,6 +170,9 @@ Discord = "https://discord.gg/qFm6aSqq59"
[project.scripts]
faststream = "faststream.__main__:cli"

[tool.uv]
override-dependencies = ["rich>=13.8.1"]

[tool.uv.build-backend]
module-root = "."
module-name = "faststream"
Expand Down
5 changes: 5 additions & 0 deletions tests/asyncapi/base/v2_6_0/arguments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from dataclasses import dataclass, field
from enum import Enum
from typing import Annotated, Literal
Expand Down Expand Up @@ -826,6 +827,10 @@ async def handle(
},
)

@pytest.mark.skipif(
sys.version_info >= (3, 14),
reason="Python 3.14 disallows redefining a class with the same name",
)
def test_overwrite_schema(self) -> None:
@dataclass
class User:
Expand Down
5 changes: 5 additions & 0 deletions tests/asyncapi/base/v3_0_0/arguments.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
from dataclasses import dataclass
from enum import Enum
from typing import Annotated, Literal
Expand Down Expand Up @@ -790,6 +791,10 @@ async def handle(
},
)

@pytest.mark.skipif(
sys.version_info >= (3, 14),
reason="Python 3.14 disallows redefining a class with the same name",
)
def test_overwrite_schema(self) -> None:
@dataclass
class User:
Expand Down
1 change: 1 addition & 0 deletions tests/brokers/base/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def subscriber(m) -> None:

assert event.is_set()

@pytest.mark.flaky(reruns=3, reruns_delay=1)
async def test_not_empty_prefix(
self,
queue: str,
Expand Down
1 change: 1 addition & 0 deletions tests/brokers/kafka/test_consume.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ async def handler_tp1(msg: Any) -> None:

@pytest.mark.asyncio()
@pytest.mark.slow()
@pytest.mark.flaky(reruns=3, reruns_delay=1)
async def test_consume_ack_manual(
self,
queue: str,
Expand Down
34 changes: 24 additions & 10 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.