diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a8d4951..45b37704 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/setup.py b/setup.py index 8198b364..dac7904c 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,8 @@ 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",