[Python-modules-commits] [requests] 06/08: Populate install_requires for unbundled packages
Daniele Tricoli
eriol-guest at moszumanska.debian.org
Sun May 15 17:41:26 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 490dac0b51a3ba6df874cf91c6be969585573820
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..9a49cdb 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,9 @@ packages = [
'requests.packages.urllib3.packages.ssl_match_hostname',
]
-requires = []
+requires = [
+ 'urllib3==1.15.1',
+]
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