[Python-modules-commits] [requests] 06/12: Populate install_requires for unbundled packages
Daniele Tricoli
eriol-guest at moszumanska.debian.org
Thu Dec 8 18:25:42 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 c3ded8d7c950503babbb28c6f051b28207a71be9
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 1fc2a6e..2064769 100755
--- a/setup.py
+++ b/setup.py
@@ -46,7 +46,9 @@ packages = [
'requests.packages.urllib3.packages.backports',
]
-requires = []
+requires = [
+ 'urllib3==1.19.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