pandas: Update to 0.16.1, closes #8288
Note that I could remove the line-switching hack because the problem has been fixed upstream: https://github.com/fvia/pandas/commit/09a7a69e116
This commit is contained in:
parent
e149ba4768
commit
04f6a1c665
@ -8241,11 +8241,11 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
pandas = buildPythonPackage rec {
|
pandas = buildPythonPackage rec {
|
||||||
name = "pandas-0.15.0";
|
name = "pandas-0.16.1";
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
src = pkgs.fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz";
|
||||||
sha256 = "1w3wjnn3v37hf3hrd24lfgk6vpykarv9mihhpcfq6y7rg586bgjk";
|
sha256 = "1dpq5p4iym7y13wkrm0hma87rvvv5rfj5fb10iwbys5hihzj83ap";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ self.nose ];
|
buildInputs = [ self.nose ];
|
||||||
@ -8259,18 +8259,18 @@ let
|
|||||||
bottleneck
|
bottleneck
|
||||||
sqlalchemy9
|
sqlalchemy9
|
||||||
lxml
|
lxml
|
||||||
|
html5lib
|
||||||
modules.sqlite3
|
modules.sqlite3
|
||||||
|
beautifulsoup4
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# Need to do this patch or tests will fail (swaps 1st and 2nd lines).
|
# Broken test, probably https://github.com/pydata/pandas/issues/10312:
|
||||||
# See: https://github.com/pydata/pandas/commit/c4bcc2054bfd2f89b640bea0c9a109b0184d6710
|
rm pandas/io/tests/test_html.py
|
||||||
first=$(sed -n '1p' < pandas/tests/test_format.py)
|
|
||||||
second=$(sed -n '2p' < pandas/tests/test_format.py)
|
# Hitting https://github.com/pydata/pandas/pull/7362 on python
|
||||||
rest=$(tail -n +3 pandas/tests/test_format.py)
|
# 3.3 and 3.4, not sure why:
|
||||||
echo $second > pandas/tests/test_format.py
|
rm pandas/tseries/tests/test_daterange.py
|
||||||
echo $first >> pandas/tests/test_format.py
|
|
||||||
echo "$rest" >> pandas/tests/test_format.py
|
|
||||||
|
|
||||||
# Need to skip this test; insert a line here... hacky but oh well.
|
# Need to skip this test; insert a line here... hacky but oh well.
|
||||||
badtest=pandas/tseries/tests/test_timezones.py
|
badtest=pandas/tseries/tests/test_timezones.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user