[Python-modules-commits] [requests] 09/13: Populate install_requires for unbundled packages

Daniele Tricoli eriol-guest at moszumanska.debian.org
Thu Sep 8 22:32:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

eriol-guest pushed a commit to branch master
in repository requests.

commit d3721e08b177b4087f4a7df680ec8312fd105035
Author: Daniele Tricoli <eriol at mornie.org>
Date:   Fri Oct 23 16:03:52 2015 +0200

    Populate install_requires for unbundled packages
    
    This will avoid breakage updating urllib3 via pip when requests/urllib3
    are already installed via the system packages.
    
    Forwarded: not-needed
    Bug-OpenStack: https://review.openstack.org/#/c/213310/0
    Bug-Upstream: https://github.com/kennethreitz/requests/issues/2816
    Patch-Name: 02_populate-install_requires.patch
---
 setup.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 3d79616..8266add 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,9 @@ packages = [
     'requests.packages.urllib3.packages.ssl_match_hostname',
 ]
 
-requires = []
+requires = [
+    'urllib3==1.16',
+]
 test_requirements = ['pytest>=2.8.0', 'pytest-httpbin==0.0.7', 'pytest-cov']
 
 with open('requests/__init__.py', 'r') as fd:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/requests.git



More information about the Python-modules-commits mailing list