File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11[project ]
22name = " taskiq-faststream"
3- version = " 0.4.0 "
3+ version = " 0.4.1 "
44description = " FastStream - taskiq integration to schedule FastStream tasks"
55readme = " README.md"
66license = " MIT"
@@ -41,7 +41,7 @@ classifiers = [
4141
4242dependencies = [
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
8585dev = [
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
Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments