Add support for urllib3 v2 (#719)

Signed-off-by: Ihor Herasymenko <[email protected]>
This commit is contained in:
Ihor Herasymenko
2024-04-22 13:58:50 -04:00
committed by GitHub
parent 083d5229a1
commit 54ad04d37e
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
### Added
- Added support for urllib3 2+ in Python 3.10+ ([#719](https://github.com/opensearch-project/opensearch-py/pull/719))
- Added support for Python 3.12 ([#717](https://github.com/opensearch-project/opensearch-py/pull/717))
- Added service time metrics ([#716](https://github.com/opensearch-project/opensearch-py/pull/716))
- Added `search_pipeline` APIs and `notifications` plugin APIs ([#724](https://github.com/opensearch-project/opensearch-py/pull/724))
+2 -1
View File
@@ -54,7 +54,8 @@ packages = [
if package == MODULE_DIR or package.startswith(MODULE_DIR + ".")
]
install_requires = [
"urllib3>=1.26.18, <2",
'urllib3>=1.26.18,<1.27 ; python_version < "3.10"',
'urllib3>=1.26.18,!=2.2.0,<3 ; python_version >= "3.10"',
"requests>=2.4.0, <3.0.0",
"six",
"python-dateutil",