Skip to content

Commit 2358dd3

Browse files
[Backport 8.13] Switch back to released version of elastic-transport (#2506)
(cherry picked from commit e0dc757) Co-authored-by: Quentin Pradet <quentin.pradet@elastic.co>
1 parent 57ae8d7 commit 2358dd3

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

dev-requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# TODO switch back to elastic-transport>=8,<9 between elastic-transport release and elasticsearch-py release
2-
elastic-transport @ git+https://github.com/elastic/elastic-transport-python
1+
elastic-transport>=8.13, <9
32
requests>=2, <3
43
aiohttp
54
pytest

setup.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@
5151
if package == package_name or package.startswith(package_name + ".")
5252
]
5353

54-
# TODO switch back to elastic-transport>=8,<9 between elastic-transport release and elasticsearch-py release
55-
install_requires = [
56-
"elastic-transport @ git+https://github.com/elastic/elastic-transport-python"
57-
]
58-
async_requires = ["aiohttp>=3,<4"]
59-
6054
setup(
6155
name=package_name,
6256
description="Python client for Elasticsearch",
@@ -93,10 +87,10 @@
9387
"Programming Language :: Python :: Implementation :: PyPy",
9488
],
9589
python_requires=">=3.7",
96-
install_requires=install_requires,
90+
install_requires=["elastic-transport>=8.13,<9"],
9791
extras_require={
9892
"requests": ["requests>=2.4.0, <3.0.0"],
99-
"async": async_requires,
93+
"async": ["aiohttp>=3,<4"],
10094
"orjson": ["orjson>=3"],
10195
},
10296
)

0 commit comments

Comments
 (0)