[Python-modules-commits] [python-pip] 04/11: merge patched into master
Barry Warsaw
barry at moszumanska.debian.org
Thu Jun 16 14:15:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-pip.
commit d8cc8978967c1037f1c5731956d70a78e19c4ef3
Merge: 31ca848 a7348a6
Author: Barry Warsaw <barry at python.org>
Date: Thu Jun 16 15:32:49 2016 +0300
merge patched into master
debian/.git-dpm | 4 ++--
.../0005-Description-Warn-and-skip-broken-requirements.patch | 11 ++++++-----
2 files changed, 8 insertions(+), 7 deletions(-)
diff --cc debian/.git-dpm
index f9c42a0,0000000..78b8000
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,11 -1,0 +1,11 @@@
+# see git-dpm(1) from git-dpm package
- 3745fa3b55453edade3f3f60b6bec361c079857d
- 3745fa3b55453edade3f3f60b6bec361c079857d
++a7348a6ebf011306e9ef018bab5a2ddfb4dea01a
++a7348a6ebf011306e9ef018bab5a2ddfb4dea01a
+030df74bb06ecef9a308cb8315a0c93f1f971cfb
+030df74bb06ecef9a308cb8315a0c93f1f971cfb
+python-pip_8.1.2.orig.tar.gz
+1c13c247967ec5bee6de5fd104c5d78ba30951c7
+1140573
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --cc debian/patches/0005-Description-Warn-and-skip-broken-requirements.patch
index 37c184f,0000000..ad4c264
mode 100644,000000..100644
--- a/debian/patches/0005-Description-Warn-and-skip-broken-requirements.patch
+++ b/debian/patches/0005-Description-Warn-and-skip-broken-requirements.patch
@@@ -1,47 -1,0 +1,48 @@@
- From 3745fa3b55453edade3f3f60b6bec361c079857d Mon Sep 17 00:00:00 2001
++From a7348a6ebf011306e9ef018bab5a2ddfb4dea01a Mon Sep 17 00:00:00 2001
+From: Barry Warsaw <barry at python.org>
+Date: Thu, 16 Jun 2016 15:29:12 +0300
- Subject: =?UTF-8?q?Description:=20Warn=20and=20skip=20broken=20requirement?=
- =?UTF-8?q?s.=0AOrigin:=20https://github.com/pypa/pip/pull/3704=0ABug:=20h?=
- =?UTF-8?q?ttps://github.com/pypa/pip/issues/3681=0AForwarded:=20not-neede?=
- =?UTF-8?q?d?=
++Subject: Description: Warn and skip broken requirements.
++
++Origin: https://github.com/pypa/pip/pull/3704
++Bug: https://github.com/pypa/pip/issues/3681
++Forwarded: not-needed
+
+Patch-name: skip-bad-requirements.patch
+---
+ pip/operations/freeze.py | 16 ++++++++++++----
+ 1 file changed, 12 insertions(+), 4 deletions(-)
+
+diff --git a/pip/operations/freeze.py b/pip/operations/freeze.py
+index 086922e..7493ced 100644
+--- a/pip/operations/freeze.py
++++ b/pip/operations/freeze.py
+@@ -8,6 +8,7 @@ from pip.req import InstallRequirement
+ from pip.utils import get_installed_distributions
+ from pip._vendor import pkg_resources
+ from pip._vendor.packaging.utils import canonicalize_name
++from pip._vendor.pkg_resources import RequirementParseError
+
+
+ logger = logging.getLogger(__name__)
+@@ -42,10 +43,17 @@ def freeze(
+ for dist in get_installed_distributions(local_only=local_only,
+ skip=(),
+ user_only=user_only):
+- req = pip.FrozenRequirement.from_dist(
+- dist,
+- dependency_links
+- )
++ try:
++ req = pip.FrozenRequirement.from_dist(
++ dist,
++ dependency_links
++ )
++ except RequirementParseError:
++ logger.warning(
++ "Could not parse requirement: %s",
++ dist.project_name
++ )
++ continue
+ installations[req.name] = req
+
+ if requirement:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git
More information about the Python-modules-commits
mailing list