From 041359c0a8493025872729f5db77803095375a7e Mon Sep 17 00:00:00 2001 From: Naveena Date: Thu, 28 Mar 2024 10:28:03 +0530 Subject: [PATCH] Updated SDK dependencies. 1) Python 3.6 supports requests <= 2.27.1 version and python 3.5 supports requests <= 2.25.1 2) Updated the minimum version for requests package in the setup file. 3) With this change SDK will support 3.5+ python versions. --- README.md | 1 + cohesity_management_sdk/controllers/base_controller.py | 2 +- setup.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5774327c..26e6a104 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ pip install cohesity-management-sdk==1.5.1 |Cluster Version| SDK Version| |---|--| +|7.0|1.10.2| |7.0|1.10.1| |6.8.1_u1|1.9.2| |6.8.1_u1|1.9.1| diff --git a/cohesity_management_sdk/controllers/base_controller.py b/cohesity_management_sdk/controllers/base_controller.py index e5836613..8245539d 100644 --- a/cohesity_management_sdk/controllers/base_controller.py +++ b/cohesity_management_sdk/controllers/base_controller.py @@ -27,7 +27,7 @@ class BaseController(object): http_call_back = None - global_headers = {'user-agent': 'cohesity-python/1.10.1'} + global_headers = {'user-agent': 'cohesity-python/1.10.2'} def __init__(self, config=None, client=None, call_back=None): if client != None: diff --git a/setup.py b/setup.py index 631f85ad..6fb19f2d 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( name='cohesity_management_sdk', - version='1.10.1', + version='1.10.2', description='This SDK provides operations for interfacing with the Cohesity Cluster.', long_description=long_description, long_description_content_type=long_description_content_type, @@ -23,7 +23,7 @@ url='https://github.com/cohesity/management-sdk-python', packages=find_packages(), install_requires=[ - 'requests>=2.31.0, <3.0', + 'requests>=2.25.1, <3.0', 'cachecontrol>=0.11.7, <1.0', 'python-dateutil>=2.5.3, <3.0' ]