From 6e2a303280ebfefe9f0235219788488296e262d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Mon, 2 Sep 2024 18:25:44 +0200 Subject: [PATCH] Unpin for newer elasticsearch versions elasticsearch 2.x is years out of date. anything below 7 is basically dangerous to use. Change-Id: I7dd64b8a802b1c870f586e78f89264899e495bf9 --- osprofiler/tests/unit/drivers/test_elasticsearch.py | 3 ++- setup.cfg | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/osprofiler/tests/unit/drivers/test_elasticsearch.py b/osprofiler/tests/unit/drivers/test_elasticsearch.py index a73b9bd..985fa30 100644 --- a/osprofiler/tests/unit/drivers/test_elasticsearch.py +++ b/osprofiler/tests/unit/drivers/test_elasticsearch.py @@ -23,7 +23,8 @@ class ElasticsearchTestCase(test.TestCase): def setUp(self): super(ElasticsearchTestCase, self).setUp() - self.elasticsearch = ElasticsearchDriver("elasticsearch://localhost") + self.elasticsearch = ElasticsearchDriver( + "elasticsearch://localhost:9001/") self.elasticsearch.project = "project" self.elasticsearch.service = "service" diff --git a/setup.cfg b/setup.cfg index 4d1a9c7..c559446 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,7 +28,7 @@ packages = [extras] elasticsearch = - elasticsearch>=2.0.0,<3.0.0 # Apache-2.0 + elasticsearch>=2.0.0 # Apache-2.0 jaeger = jaeger-client>=3.8.0 # Apache-2.0 messaging =