You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2021/11/12 15:20:36 UTC

[libcloud] 02/09: Don't require the very latest version of requests under Python >= 3.6.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch 3.4.x
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit edfb4c5b9302ef74bedb63d53192a458bc466aa2
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Nov 11 22:03:12 2021 +0100

    Don't require the very latest version of requests under Python >= 3.6.
    
    Libcloud is a library and not application and we shouldn't have very
    strict requirements like that since it may cause issues if users already
    depend on different (conflicting / lower) version of requests.
    
    Due to #1594 this is not ideal from license perspective, but Libcloud
    doesn't bundle any 3rd party dependencies and in most scenarios where
    there are no conflicting version requirements, pip will pick up latest
    version of requests when installing Libcloud.
---
 setup.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 31fa353..4175aa9 100644
--- a/setup.py
+++ b/setup.py
@@ -176,8 +176,7 @@ SUPPORTED_VERSIONS = ['PyPy 3', 'Python 3.5+']
 # We rely on >= 2.26.0 to avoid issues with LGL transitive dependecy
 # See https://github.com/apache/libcloud/issues/1594 for more context
 INSTALL_REQUIREMENTS = [
-    'requests>=2.25.1; python_version <= "3.5"',
-    'requests>=2.26.0; python_version >= "3.6"'
+    'requests>=2.5.0',
 ]
 
 setuptools_version = tuple(setuptools.__version__.split(".")[0:2])