Skip to content

Commit 513743f

Browse files
chore: enable newer versions of aiohttp-retry (#837)
1 parent 73a1e2b commit 513743f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ pygments>=2.7.4 # not directly required, pinned by Snyk to avoid a vulnerability
22
requests>=2.31.0
33
PyJWT>=2.0.0, <3.0.0
44
aiohttp>=3.9.4
5-
aiohttp-retry==2.8.3
5+
aiohttp-retry>=2.8.3
66
certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"requests >= 2.0.0",
2525
"PyJWT >= 2.0.0, < 3.0.0",
2626
"aiohttp>=3.8.4",
27-
"aiohttp-retry==2.8.3",
27+
"aiohttp-retry>=2.8.3",
2828
],
2929
packages=find_packages(exclude=["tests", "tests.*"]),
3030
include_package_data=True,

tests/unit/http/test_async_http_client.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ class MockResponse(object):
1010
A mock of the aiohttp.ClientResponse class
1111
"""
1212

13-
def __init__(self, text, status):
13+
def __init__(self, text, status, method="GET"):
1414
self._text = text
1515
self.status = status
1616
self.headers = {}
17+
self.method = method
1718

1819
async def text(self):
1920
return self._text

0 commit comments

Comments
 (0)