Control: tags -1 patch

The attached patch is against src:python-pip-9.0.1-2.1

I'm not sure about a missing _vendor directory, but adding this
dependency allows "python -m pip --help" to succeed.

Cheers,
Nicholas
From c24a78f867a1d5ed21593b2b238be4fe7c83e729 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 dependency on python-certifi

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-certifi provides the missing module.
---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index ff653ee..9331ccb 100644
--- a/debian/control
+++ b/debian/control
@@ -53,6 +53,7 @@ Recommends: build-essential,
             python-all-dev (>= 2.6),
             python-setuptools,
             python-wheel,
+            python-certifi
 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