Sorry for the oversight, I forgot the obvious python-urllib3 dep in the last patch.
From 78645ab28b4179ee37322c7537468a5fdcb40d72 Mon Sep 17 00:00:00 2001 From: Nicholas D Steeves <[email protected]> Date: Sat, 28 Apr 2018 01:47:54 -0400 Subject: [PATCH] python-pip: Add missing depends on python-certifi & python-urllib3
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 is also
needed.
---
debian/control | 2 ++
1 file changed, 2 insertions(+)
diff --git a/debian/control b/debian/control
index ff653ee..c15e8f5 100644
--- a/debian/control
+++ b/debian/control
@@ -53,6 +53,8 @@ Recommends: build-essential,
python-all-dev (>= 2.6),
python-setuptools,
python-wheel,
+ python-certifi,
+ python-urllib3
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
signature.asc
Description: PGP signature
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
