From b13265f3bfeb6a23c874425fe8b58bc9a44f9522 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 27 Oct 2021 14:13:39 -0700 Subject: pipenv: pin elasticsearch to prevent UnsupportedProductError --- Pipfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Pipfile b/Pipfile index ce84c51..8ef72ad 100644 --- a/Pipfile +++ b/Pipfile @@ -9,7 +9,9 @@ babel = "*" beautifulsoup4 = "==4.*" confluent-kafka = "*" dynaconf = ">=3" -elasticsearch = { version = ">=7.8.0,<8.0.0", extras = ["async"] } +# <7.14 pin is because of elasticsearch.exceptions.UnsupportedProductError +# https://github.com/elastic/elasticsearch-py/issues/1639 +elasticsearch = { version = ">=7.8.0,<7.14.0", extras = ["async"] } elasticsearch-dsl = ">=7.0.0,<8.0.0" fastapi = "*" fatcat-openapi-client = ">=0.3.3" -- cgit v1.2.3