From a23ad949425214909b9426502ea9a8c970f07bab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 20:28:12 +0000 Subject: [PATCH] Update dependency opensearch-py to v2 --- poetry.lock | 38 ++++++++++++++++++++++++++------------ pyproject.toml | 2 +- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/poetry.lock b/poetry.lock index 20b7a964bb..c7d8ceb514 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1248,6 +1248,16 @@ uritemplate = ">=2.0.0" offline = ["drf-spectacular-sidecar"] sidecar = ["drf-spectacular-sidecar"] +[[package]] +name = "events" +version = "0.5" +description = "Bringing the elegance of C# EventHandler to Python" +optional = false +python-versions = "*" +files = [ + {file = "Events-0.5-py3-none-any.whl", hash = "sha256:a7286af378ba3e46640ac9825156c93bdba7502174dd696090fdfcd4d80a1abd"}, +] + [[package]] name = "execnet" version = "2.1.1" @@ -2206,24 +2216,28 @@ develop = ["coverage (<5.0.0)", "mock", "pytest (>=3.0.0)", "pytest-cov", "pytes [[package]] name = "opensearch-py" -version = "1.1.0" -description = "Python low-level client for OpenSearch" +version = "2.6.0" +description = "Python client for OpenSearch" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4" +python-versions = "<4,>=3.8" files = [ - {file = "opensearch-py-1.1.0.tar.gz", hash = "sha256:7d0c41cea61fedc34542be7fb9169931360134cf823c596f719106c3bd8466fe"}, - {file = "opensearch_py-1.1.0-py2.py3-none-any.whl", hash = "sha256:cb573546fb373dac8091be9b8eac2ba8da277713eea4b50b4a49ccd30dec25f1"}, + {file = "opensearch_py-2.6.0-py2.py3-none-any.whl", hash = "sha256:b6e78b685dd4e9c016d7a4299cf1de69e299c88322e3f81c716e6e23fe5683c1"}, + {file = "opensearch_py-2.6.0.tar.gz", hash = "sha256:0b7c27e8ed84c03c99558406927b6161f186a72502ca6d0325413d8e5523ba96"}, ] [package.dependencies] -certifi = "*" -urllib3 = ">=1.21.1,<2" +certifi = ">=2022.12.07" +Events = "*" +python-dateutil = "*" +requests = ">=2.4.0,<3.0.0" +six = "*" +urllib3 = {version = ">=1.26.18,<2.2.0 || >2.2.0,<3", markers = "python_version >= \"3.10\""} [package.extras] -async = ["aiohttp (>=3,<4)"] -develop = ["black", "botocore", "coverage", "jinja2", "mock", "myst-parser", "pytest", "pytest-cov", "pyyaml", "requests (>=2.0.0,<3.0.0)", "sphinx", "sphinx-copybutton", "sphinx-rtd-theme"] -docs = ["myst-parser", "sphinx", "sphinx-copybutton", "sphinx-rtd-theme"] -requests = ["requests (>=2.4.0,<3.0.0)"] +async = ["aiohttp (>=3.9.4,<4)"] +develop = ["black (>=24.3.0)", "botocore", "coverage (<8.0.0)", "jinja2", "mock", "myst-parser", "pytest (>=3.0.0)", "pytest-cov", "pytest-mock (<4.0.0)", "pytz", "pyyaml", "requests (>=2.0.0,<3.0.0)", "sphinx", "sphinx-copybutton", "sphinx-rtd-theme"] +docs = ["aiohttp (>=3.9.4,<4)", "myst-parser", "sphinx", "sphinx-copybutton", "sphinx-rtd-theme"] +kerberos = ["requests-kerberos"] [[package]] name = "packaging" @@ -4042,4 +4056,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = "3.12.4" -content-hash = "63a09fdcd2006b42865926ecfdf6ec10351eb7472359887f2aed5dd19f63f78f" +content-hash = "d55e16072c6e14d184652f16311d00ee01acb0a05457900abe84ee5e763afe9a" diff --git a/pyproject.toml b/pyproject.toml index 2ca7c8732f..51125cbdc1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ nested-lookup = "^0.2.25" newrelic = "^8.8.0" ocw-data-parser = "^0.35.1" opensearch-dsl = "^1.0.0" -opensearch-py = "^1.0.0" +opensearch-py = "^2.0.0" psycopg2 = "^2.9.6" pygithub = "^1.44.1" python-dateutil = "^2.8.2"