Skip to content

Commit 38d648e

Browse files
authored
fix: update elasticsearch version (#7300)
* docs: update elasticsearch version * fix: added <8.0.0 to prevent asking for hosts/cloud_id
1 parent c8252f2 commit 38d648e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
"pytest-datadir",
167167
"pytest-xdist",
168168
# optional dependencies
169-
"elasticsearch<8.0.0", # 8.0 asks users to provide hosts or cloud_id when instantiating ElasticSearch()
169+
"elasticsearch>=7.17.12,<8.0.0", # 8.0 asks users to provide hosts or cloud_id when instantiating ElasticSearch(); 7.9.1 has legacy numpy.float_ which was fixed in https://github.com/elastic/elasticsearch-py/pull/2551.
170170
"faiss-cpu>=1.8.0.post1", # Pins numpy < 2
171171
"jax>=0.3.14; sys_platform != 'win32'",
172172
"jaxlib>=0.3.14; sys_platform != 'win32'",

0 commit comments

Comments
 (0)