jlec 14/12/07 16:57:02
Added: pandas-0.15.1-skip-tz-test.patch
pandas-0.15.0-backport-GH8587.patch
Log:
dev-python/pandas: Drop old; Version BUmp; backport testsuite patch, #521880
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key
B9D4F231BD1558AB!)
Revision Changes Path
1.1 dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/files/pandas-0.15.1-skip-tz-test.patch?rev=1.1&content-type=text/plain
Index: pandas-0.15.1-skip-tz-test.patch
===================================================================
pandas/tseries/tests/test_timezones.py | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pandas/tseries/tests/test_timezones.py
b/pandas/tseries/tests/test_timezones.py
index 9fbdb71..62db007 100644
--- a/pandas/tseries/tests/test_timezones.py
+++ b/pandas/tseries/tests/test_timezones.py
@@ -599,11 +599,12 @@ class TestTimeZoneSupportPytz(tm.TestCase):
self.assertTrue(self.cmptz(result.index.tz, self.tz('US/Eastern')))
def test_string_index_alias_tz_aware(self):
- rng = date_range('1/1/2000', periods=10, tz=self.tzstr('US/Eastern'))
- ts = Series(np.random.randn(len(rng)), index=rng)
+ raise nose.SkipTest("https://github.com/pydata/pandas/issues/8639")
+ #rng = date_range('1/1/2000', periods=10, tz=self.tzstr('US/Eastern'))
+ #ts = Series(np.random.randn(len(rng)), index=rng)
- result = ts['1/3/2000']
- self.assertAlmostEqual(result, ts[2])
+ #result = ts['1/3/2000']
+ #self.assertAlmostEqual(result, ts[2])
def test_fixed_offset(self):
dates = [datetime(2000, 1, 1, tzinfo=fixed_off),
1.1 dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pandas/files/pandas-0.15.0-backport-GH8587.patch?rev=1.1&content-type=text/plain
Index: pandas-0.15.0-backport-GH8587.patch
===================================================================
>From 403f38da35ab04d3997f61db3c98134fe02910d3 Mon Sep 17 00:00:00 2001
From: pallav-fdsi <[email protected]>
Date: Sun, 19 Oct 2014 20:49:21 -0400
Subject: [PATCH] BUG: invalid import checking in gbq (GH8587)
---
pandas/io/gbq.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pandas/io/gbq.py b/pandas/io/gbq.py
index abb743d..20c1e9f 100644
--- a/pandas/io/gbq.py
+++ b/pandas/io/gbq.py
@@ -43,7 +43,7 @@
_GOOGLE_API_CLIENT_INSTALLED=True
_GOOGLE_API_CLIENT_VERSION =
pkg_resources.get_distribution('google-api-python-client').version
- if LooseVersion(_GOOGLE_API_CLIENT_VERSION >= '1.2.0'):
+ if LooseVersion(_GOOGLE_API_CLIENT_VERSION) >= '1.2.0':
_GOOGLE_API_CLIENT_VALID_VERSION = True
except ImportError:
@@ -56,7 +56,7 @@
_GOOGLE_FLAGS_VERSION =
pkg_resources.get_distribution('python-gflags').version
- if LooseVersion(_GOOGLE_FLAGS_VERSION >= '2.0.0'):
+ if LooseVersion(_GOOGLE_FLAGS_VERSION) >= '2.0':
_GOOGLE_FLAGS_VALID_VERSION = True
except ImportError: