diff --git a/requirements-test.txt b/requirements-test.txt index b2eb20f6..0029c5dd 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,11 +1,11 @@ -pytest -pytest-cov -pytest-aiohttp -aioresponses +pytest==6.2.5 +pytest-cov==3.0.0 +pytest-aiohttp==1.0.3 +aioresponses==0.7.3 black==22.3.0 flake8==4.0.1 flake8-docstrings==1.6.0 flake8-noqa==1.2.1 isort==5.10.1 pydocstyle==6.1.1 -mypy==0.942 \ No newline at end of file +mypy==0.942 diff --git a/requirements.txt b/requirements.txt index ce235718..7c05f0b3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -aiohttp \ No newline at end of file +aiohttp==3.8.1 diff --git a/setup.py b/setup.py index 2f1264da..e6ac87be 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,6 @@ MIN_PY_VERSION = "3.9" PACKAGES = find_packages(exclude=["tests", "tests.*"]) -REQUIREMENTS = list(val.strip() for val in open("requirements.txt")) VERSION = "91" setup( @@ -18,7 +17,7 @@ license="MIT", url="https://github.com/Kane610/deconz", download_url=f"https://github.com/Kane610/deconz/archive/v{VERSION}.tar.gz", - install_requires=REQUIREMENTS, + install_requires=["aiohttp"], tests_require=["pytest-aiohttp", "pytest", "aioresponses"], keywords=["deconz", "zigbee", "homeassistant"], classifiers=["Natural Language :: English", "Programming Language :: Python :: 3"],