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

Bug#681536: unblock: pandas/0.8.0-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: freeze-exception

Please unblock package pandas

Very simple fix -- just tagged a test requiring network access (those are
excluded from being run in debian/rules).  This closes #681449

unblock pandas/0.8.0-2

Complete diff:

diff -Nru pandas-0.8.0/debian/changelog pandas-0.8.0/debian/changelog
--- pandas-0.8.0/debian/changelog       2012-06-29 13:37:46.000000000 -0400
+++ pandas-0.8.0/debian/changelog       2012-07-13 08:57:31.000000000 -0400
@@ -1,3 +1,11 @@
+pandas (0.8.0-2) unstable; urgency=medium
+
+  * up_tag_yahoo_test_requiring_network patch cherry-picked from upstream
+    GIT so that tests would not be excercised at package build time
+    (Closes: #681449)
+
+ -- Yaroslav Halchenko <debian@onerussian.com>  Fri, 13 Jul 2012 08:54:41 -0400
+
 pandas (0.8.0-1) unstable; urgency=low

   * Fresh upstream release
diff -Nru pandas-0.8.0/debian/patches/series pandas-0.8.0/debian/patches/series
--- pandas-0.8.0/debian/patches/series  1969-12-31 19:00:00.000000000 -0500
+++ pandas-0.8.0/debian/patches/series  2012-07-13 08:57:31.000000000 -0400
@@ -0,0 +1 @@
+up_tag_yahoo_test_requiring_network
diff -Nru pandas-0.8.0/debian/patches/up_tag_yahoo_test_requiring_network pandas-0.8.0/debian/patches/up_tag_yahoo_test_requiring_network
--- pandas-0.8.0/debian/patches/up_tag_yahoo_test_requiring_network     1969-12-31 19:00:00.000000000 -0500
+++ pandas-0.8.0/debian/patches/up_tag_yahoo_test_requiring_network     2012-07-13 08:57:31.000000000 -0400
@@ -0,0 +1,30 @@
+From: Wes McKinney <wesmckinn@gmail.com>
+Date: Thu, 12 Jul 2012 17:36:23 -0400
+Subject: [PATCH] BUG: fix duplicate index indexing problems close #1201
+
+Partially taken from
+4406d37b71cc3303b40847010299534c03723651
+
+diff --git a/pandas/io/tests/test_yahoo.py b/pandas/io/tests/test_yahoo.py
+index 9f123e0..1f10a86 100644
+--- a/pandas/io/tests/test_yahoo.py
++++ b/pandas/io/tests/test_yahoo.py
+@@ -7,13 +7,15 @@ import re
+ import unittest
+ import pandas.io.data as pd
+ import nose
++from pandas.util.testing import network
+
+ class TestYahoo(unittest.TestCase):
+
++    @network
+     def test_yahoo(self):
+-        """asserts that yahoo is minimally working and that it throws
+-        an excecption when DataReader can't get a 200 response from
+-        yahoo """
++        # asserts that yahoo is minimally working and that it throws
++        # an excecption when DataReader can't get a 200 response from
++        # yahoo
+         start = datetime(2010,1,1)
+         end = datetime(2012,1,24)
+         self.assertEquals(


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: