Control: block 883218 by -1

Took at look at this again by the light of day, just in case I missed
something...oh my, yes, I had also missed python-requests

This time I got all the deps ;-)


Sorry it took three tries!
Nicholas
From a1f3688f8bdfa5ae25701be0690a324e75574bba Mon Sep 17 00:00:00 2001
From: Nicholas D Steeves <nstee...@gmail.com>
Date: Sat, 28 Apr 2018 01:47:54 -0400
Subject: [PATCH] python-pip: Add missing depends on certifi, urllib3, and
 requests

In the last week python -m pip --help started failing with:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "/usr/lib/python2.7/runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 21, in <module>
    from pip._vendor.requests.packages.urllib3.exceptions import DependencyWarning
ImportError: No module named requests.packages.urllib3.exceptions

Python-urllib3 provides the missing module, but python-certifi and
python-requests are also needed.
---
 debian/control | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/control b/debian/control
index ff653ee..aa20597 100644
--- a/debian/control
+++ b/debian/control
@@ -53,6 +53,9 @@ Recommends: build-essential,
             python-all-dev (>= 2.6),
             python-setuptools,
             python-wheel,
+            python-certifi,
+            python-urllib3,
+            python-requests
 Description: Python package installer
  pip is the Python package installer.  It integrates with virtualenv, doesn't
  do partial installs, can save package state for replaying, can install from
-- 
2.14.2

Attachment: signature.asc
Description: PGP signature

Reply via email to