python: pandas: 0.22.0 -> 0.23.0

This commit is contained in:
Frederik Rietdijk 2018-06-12 18:47:03 +02:00
parent 7a6a314140
commit aeef0cd86a
2 changed files with 6 additions and 20 deletions

View file

@ -28,16 +28,18 @@ let
inherit (stdenv) isDarwin; inherit (stdenv) isDarwin;
in buildPythonPackage rec { in buildPythonPackage rec {
pname = "pandas"; pname = "pandas";
version = "0.22.0"; version = "0.23.0";
name = "${pname}-${version}";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "44a94091dd71f05922eec661638ec1a35f26d573c119aa2fad964f10a2880e6c"; sha256 = "84ab1d50590cb2d9554211f164dc1b1a216bc94da2ba922aed2690c83f248fd9";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
buildInputs = [ pytest glibcLocales ] ++ optional isDarwin libcxx;
checkInputs = [ pytest glibcLocales moto ];
buildInputs = [] ++ optional isDarwin libcxx;
propagatedBuildInputs = [ propagatedBuildInputs = [
cython cython
dateutil dateutil
@ -55,8 +57,6 @@ in buildPythonPackage rec {
xlwt xlwt
]; ];
patches = [ ./pandas-0.22.0-pytest-3.5.1.patch ];
# For OSX, we need to add a dependency on libcxx, which provides # For OSX, we need to add a dependency on libcxx, which provides
# `complex.h` and other libraries that pandas depends on to build. # `complex.h` and other libraries that pandas depends on to build.
postPatch = optionalString isDarwin '' postPatch = optionalString isDarwin ''
@ -67,7 +67,6 @@ in buildPythonPackage rec {
"['pandas/src/klib', 'pandas/src', '$cpp_sdk']" "['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
''; '';
checkInputs = [ moto ];
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck
'' ''

View file

@ -1,13 +0,0 @@
--- a/pandas/tests/io/test_pytables.py
+++ b/pandas/tests/io/test_pytables.py
@@ -5028,8 +5028,8 @@ class TestHDFStore(Base):
with ensure_clean_path(self.path) as path:
with catch_warnings(record=True):
with pytest.raises(
- ValueError, msg=("cannot have non-object label "
- "DataIndexableCol")):
+ ValueError, message=("cannot have non-object label "
+ "DataIndexableCol")):
df.to_hdf(path, 'df', format='table',
data_columns=True)