diff --git a/dev-requirements.txt b/dev-requirements.txt index 77ca77ced..c42af4eab 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,4 @@ -# TODO switch back to elastic-transport>=8,<9 between elastic-transport release and elasticsearch-py release -elastic-transport @ git+https://github.com/elastic/elastic-transport-python +elastic-transport>=8.13, <9 requests>=2, <3 aiohttp pytest diff --git a/setup.py b/setup.py index 6104768d5..dc592dcc4 100644 --- a/setup.py +++ b/setup.py @@ -51,12 +51,6 @@ if package == package_name or package.startswith(package_name + ".") ] -# TODO switch back to elastic-transport>=8,<9 between elastic-transport release and elasticsearch-py release -install_requires = [ - "elastic-transport @ git+https://github.com/elastic/elastic-transport-python" -] -async_requires = ["aiohttp>=3,<4"] - setup( name=package_name, description="Python client for Elasticsearch", @@ -93,10 +87,10 @@ "Programming Language :: Python :: Implementation :: PyPy", ], python_requires=">=3.7", - install_requires=install_requires, + install_requires=["elastic-transport>=8.13,<9"], extras_require={ "requests": ["requests>=2.4.0, <3.0.0"], - "async": async_requires, + "async": ["aiohttp>=3,<4"], "orjson": ["orjson>=3"], }, )