Skip to content

Commit 135f81b

Browse files
authored
release 0.4.1 (#133)
2 parents 63dafcb + 8c1aecb commit 135f81b

3 files changed

Lines changed: 10 additions & 8 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
6565
CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
6666
- name: Store coverage files
67-
uses: actions/upload-artifact@v6
67+
uses: actions/upload-artifact@v7
6868
with:
6969
name: .coverage.${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.pydantic-version }}
7070
path: coverage
@@ -87,7 +87,7 @@ jobs:
8787
version: "latest"
8888

8989
- name: Get coverage files
90-
uses: actions/download-artifact@v7
90+
uses: actions/download-artifact@v8
9191
with:
9292
pattern: .coverage*
9393
path: coverage
@@ -101,7 +101,7 @@ jobs:
101101
- run: coverage html --show-contexts --title "taskiq-faststream coverage for ${{ github.sha }}"
102102

103103
- name: Store coverage html
104-
uses: actions/upload-artifact@v6
104+
uses: actions/upload-artifact@v7
105105
with:
106106
name: coverage-html
107107
path: htmlcov

‎pyproject.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "taskiq-faststream"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "FastStream - taskiq integration to schedule FastStream tasks"
55
readme = "README.md"
66
license = "MIT"
@@ -41,7 +41,7 @@ classifiers = [
4141

4242
dependencies = [
4343
"taskiq>=0.12.1,<0.13.0",
44-
"faststream>=0.3.14,<0.7",
44+
"faststream>=0.3.14,<0.8",
4545
]
4646

4747
[project.optional-dependencies]
@@ -84,8 +84,8 @@ test = [
8484

8585
dev = [
8686
{include-group = "test"},
87-
"mypy==1.19.1",
88-
"ruff==0.14.10",
87+
"mypy==1.20.0",
88+
"ruff==0.15.9",
8989
"pre-commit >=3.6.0,<5.0.0",
9090
]
9191

‎taskiq_faststream/broker.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ async def startup(self) -> None:
5656

5757
async def shutdown(self) -> None:
5858
"""Shutdown wrapped FastStream broker."""
59-
await self.broker.close()
59+
# `stop` replaced `close` in FastStream 0.5.44; `close` removed in 0.7.0.
60+
stop = getattr(self.broker, "stop", None) or self.broker.close
61+
await stop()
6062
await super().shutdown()
6163

6264
async def kick(self, message: PatchedMessage) -> None: # type: ignore[override]

0 commit comments

Comments
 (0)