[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771942: marked as done (unblock: python-dugong/3.3+dfsg-3)



Your message dated Sun, 7 Dec 2014 22:56:06 +0100
with message-id <20141207215606.GB28864@ugent.be>
and subject line Re: Bug#771942: now in unstable
has caused the Debian Bug report #771942,
regarding unblock: python-dugong/3.3+dfsg-3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
771942: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771942
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package python-dugong as discussed with Niels Thykier
in private mail.

Changelog:

python-dugong (3.3+dfsg-3) unstable; urgency=medium

  * The `is_temp_network_error` function now knows about more kinds of
    temporary errors, in particular also about those that do not have a
    corresponding Python exception (e.g. "no route to host").

    Closes: #771756.

 -- Nikolaus Rath <Nikolaus@rath.org>  Wed, 03 Dec 2014 09:11:52 -0800

Debdiff against testing is attached.

The package is not yet uploaded because I'm waiting for a sponsor.

unblock python-dugong/3.3+dfsg-3
diff -Nru python-dugong-3.3+dfsg/debian/changelog python-dugong-3.3+dfsg/debian/changelog
--- python-dugong-3.3+dfsg/debian/changelog	2014-11-15 05:44:37.000000000 -0800
+++ python-dugong-3.3+dfsg/debian/changelog	2014-12-03 09:12:38.000000000 -0800
@@ -1,3 +1,13 @@
+python-dugong (3.3+dfsg-3) unstable; urgency=medium
+
+  * The `is_temp_network_error` function now knows about more kinds of
+    temporary errors, in particular also about those that do not have a
+    corresponding Python exception (e.g. "no route to host").
+
+    Closes: #771756.
+
+ -- Nikolaus Rath <Nikolaus@rath.org>  Wed, 03 Dec 2014 09:11:52 -0800
+
 python-dugong (3.3+dfsg-2) unstable; urgency=medium
 
   * Skip unit tests in test/test_examples.py. These tests require network
diff -Nru python-dugong-3.3+dfsg/debian/patches/bug_771756.diff python-dugong-3.3+dfsg/debian/patches/bug_771756.diff
--- python-dugong-3.3+dfsg/debian/patches/bug_771756.diff	1969-12-31 16:00:00.000000000 -0800
+++ python-dugong-3.3+dfsg/debian/patches/bug_771756.diff	2014-12-03 09:15:42.000000000 -0800
@@ -0,0 +1,30 @@
+Description: Fix bug #771756
+Author: Nikolaus Rath <Nikolaus@rath.org>
+Forwarded: not-needed
+Origin: upstream, https://bitbucket.org/nikratio/python-dugong/commits/36dc1863633b6fe38a02e5ba07dd3b0cf5deeb0f
+Last-Update: 2014-12-03
+
+--- a/dugong/__init__.py
++++ b/dugong/__init__.py
+@@ -1394,8 +1394,20 @@
+                 return False
+         return True
+ 
+-    return False
++    elif isinstance(exc, OSError):
++        # We have to be careful when retrieving errno codes, because
++        # not all of them may exist on every platform.
++        for errcode in ('EHOSTDOWN', 'EHOSTUNREACH', 'ENETDOWN',
++                        'ENETRESET', 'ENETUNREACH', 'ENOLINK',
++                        'ENONET', 'ENOTCONN', 'ENXIO', 'EPIPE',
++                        'EREMCHG', 'ESHUTDOWN', 'ETIMEDOUT'):
++            try:
++                if getattr(errno, errcode) == exc.errno:
++                    return True
++            except AttributeError:
++                pass
+ 
++    return False
+ 
+ class CaseInsensitiveDict(MutableMapping):
+     """A case-insensitive `dict`-like object.
diff -Nru python-dugong-3.3+dfsg/debian/patches/series python-dugong-3.3+dfsg/debian/patches/series
--- python-dugong-3.3+dfsg/debian/patches/series	2014-11-15 05:44:21.000000000 -0800
+++ python-dugong-3.3+dfsg/debian/patches/series	2014-12-03 09:12:46.000000000 -0800
@@ -1,2 +1,3 @@
 fix_test_examples.diff
 use-local-intersphinx.patch
+bug_771756.diff

--- End Message ---
--- Begin Message ---
Hi,

On Sun, Dec 07, 2014 at 01:51:56PM -0800, Nikolaus Rath wrote:
> Subject: Bug#771942: now in unstable

Unblocked.

Cheers,

Ivo

--- End Message ---

Reply to: