File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1818 strategy :
1919 fail-fast : false
2020 matrix :
21- python-version : [ '3.12', '3.13', '3.14-dev' ]
21+ python-version : [ '3.12', '3.13' ]
2222
2323 name : " Type Coverage and Linting @ ${{ matrix.python-version }}"
2424 steps :
Original file line number Diff line number Diff line change 99__author__ = "Michael Hall"
1010__license__ = "Apache-2.0"
1111__copyright__ = "Copyright 2020-Present Michael Hall"
12- __version__ = "2025.03.12b "
12+ __version__ = "2025.03.30b "
1313
1414import os
1515import sys
Original file line number Diff line number Diff line change @@ -168,7 +168,14 @@ async def _dispatch_loop(self) -> None:
168168 # PYUPDATE: remove this block at python 3.13 minimum
169169 else :
170170 set_name ("waterfall.finalizer" )
171- g = asyncio .gather (f , * tasks , return_exceptions = True )
171+ # TYPESHED:
172+ # Gather doesnt return a Future, it returns a GatheringFuture
173+ # We only use the Future compatible api
174+ # the result of that future is also not accurate in the typeshed.
175+ # as we dont rely on the type of the result, the below is annotated
176+ # to avoid spurious errors much as possible from inaccuracies.
177+ # See: https://github.com/mikeshardmind/async-utils/actions/runs/14119338111
178+ g : asyncio .Future [t .Any ] = asyncio .gather (f , * tasks , return_exceptions = True )
172179 try :
173180 await asyncio .wait_for (g , timeout = self .max_wait_finalize )
174181 except TimeoutError :
You can’t perform that action at this time.
0 commit comments