From ef45dd80e10618c3540478a7eccf42c533146283 Mon Sep 17 00:00:00 2001 From: Georges Toth Date: Mon, 22 Apr 2024 09:24:22 +0200 Subject: [PATCH] pin aiohtp to 3.8.6 for python 3.7; use a newer version for python > 3.7 (#187) --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2f8a98c..0b5fe96 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,10 @@ url="https://github.com/VirusTotal/vt-py", packages=["vt"], python_requires=">=3.7.0", - install_requires=["aiohttp==3.8.6"], + install_requires=[ + "aiohttp==3.8.6 ; python_version=='3.7'", + "aiohttp ; python_version>'3.7'" + ], setup_requires=["pytest-runner"], extras_require={"test": ["pytest", "pytest_httpserver", "pytest_asyncio"]}, classifiers=[