Your message dated Sun, 02 Apr 2017 07:43:00 +0000
with message-id <[email protected]>
and subject line Re: Bug#859316: unblock: pandas/0.19.2-5.1
has caused the Debian Bug report #859316,
regarding unblock: pandas/0.19.2-5.1
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 [email protected]
immediately.)


-- 
859316: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859316
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package pandas

Apply patch by Rebecca N. Palmer

unblock pandas/0.19.2-5.1

-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru pandas-0.19.2/debian/changelog pandas-0.19.2/debian/changelog
--- pandas-0.19.2/debian/changelog	2017-01-12 19:10:11.000000000 +0100
+++ pandas-0.19.2/debian/changelog	2017-04-02 07:06:36.000000000 +0200
@@ -1,3 +1,11 @@
+pandas (0.19.2-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply patch by Rebecca N. Palmer
+    Closes: #858260
+
+ -- Andreas Tille <[email protected]>  Sun, 02 Apr 2017 07:06:36 +0200
+
 pandas (0.19.2-5) unstable; urgency=medium
 
   * And one more test to skip on non-amd64 -- test_round_trip_valid_encodings
diff -Nru pandas-0.19.2/debian/patches/858260.patch pandas-0.19.2/debian/patches/858260.patch
--- pandas-0.19.2/debian/patches/858260.patch	1970-01-01 01:00:00.000000000 +0100
+++ pandas-0.19.2/debian/patches/858260.patch	2017-04-02 07:04:07.000000000 +0200
@@ -0,0 +1,45 @@
+Author: Rebecca N. Palmer <[email protected]>
+Bug-Debian: https://bugs.debian.org/858260
+Last-Update: Sat, 1 Apr 2017 23:21:31 +0100
+Description: Use tiinfo correctly
+ The underlying issue (but not strictly a bug as the documentation 
+ specifically says not to do that - 
+ http://sources.debian.net/src/python-tz/2016.7-0.2/pytz/tzinfo.py/#L247 
+ ) is that passing a pytz tzinfo to the datetime constructor uses its 
+ first listed offset, not its correct offset for that date:
+ .
+ >>> datetime.datetime(2017,4,1,tzinfo=pytz.timezone('Europe/London'))
+ datetime.datetime(2017, 4, 1, 0, 0, tzinfo=<DstTzInfo 'Europe/London' 
+ GMT0:00:00 STD>)
+ >>> pytz.timezone('Europe/London').localize(datetime.datetime(2017,4,1))
+ datetime.datetime(2017, 4, 1, 0, 0, tzinfo=<DstTzInfo 'Europe/London' 
+ BST+1:00:00 DST>)
+
+--- a/pandas/tests/test_multilevel.py
++++ b/pandas/tests/test_multilevel.py
+@@ -84,9 +84,9 @@ class TestMultiLevel(tm.TestCase):
+         # GH 7112
+         import pytz
+         tz = pytz.timezone('Asia/Tokyo')
+-        expected_tuples = [(1.1, datetime.datetime(2011, 1, 1, tzinfo=tz)),
+-                           (1.2, datetime.datetime(2011, 1, 2, tzinfo=tz)),
+-                           (1.3, datetime.datetime(2011, 1, 3, tzinfo=tz))]
++        expected_tuples = [(1.1, tz.localize(datetime.datetime(2011, 1, 1))),
++                           (1.2, tz.localize(datetime.datetime(2011, 1, 2))),
++                           (1.3, tz.localize(datetime.datetime(2011, 1, 3)))]
+         expected = Index([1.1, 1.2, 1.3] + expected_tuples)
+         self.assert_index_equal(result, expected)
+ 
+@@ -104,9 +104,9 @@ class TestMultiLevel(tm.TestCase):
+ 
+         result = midx_lv3.append(midx_lv2)
+         expected = Index._simple_new(
+-            np.array([(1.1, datetime.datetime(2011, 1, 1, tzinfo=tz), 'A'),
+-                      (1.2, datetime.datetime(2011, 1, 2, tzinfo=tz), 'B'),
+-                      (1.3, datetime.datetime(2011, 1, 3, tzinfo=tz), 'C')] +
++            np.array([(1.1, tz.localize(datetime.datetime(2011, 1, 1)), 'A'),
++                      (1.2, tz.localize(datetime.datetime(2011, 1, 2)), 'B'),
++                      (1.3, tz.localize(datetime.datetime(2011, 1, 3)), 'C')] +
+                      expected_tuples), None)
+         self.assert_index_equal(result, expected)
+ 
diff -Nru pandas-0.19.2/debian/patches/series pandas-0.19.2/debian/patches/series
--- pandas-0.19.2/debian/patches/series	2017-01-12 19:10:11.000000000 +0100
+++ pandas-0.19.2/debian/patches/series	2017-04-02 06:58:01.000000000 +0200
@@ -9,3 +9,4 @@
 deb_skip_sequencelike_on_armel
 deb_skip_test_pytables_failure
 up_buggy_overflows
+858260.patch

--- End Message ---
--- Begin Message ---
Andreas Tille:
> Package: release.debian.org
> Severity: normal
> User: [email protected]
> Usertags: unblock
> 
> Please unblock package pandas
> 
> Apply patch by Rebecca N. Palmer
> 
> unblock pandas/0.19.2-5.1
> 
> [...]

Unblocked, thanks.

~Niels

--- End Message ---

Reply via email to