aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/cufflinks
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-03-18 13:38:42 -0700
committerJon <jonringer@users.noreply.github.com>2020-03-18 15:52:03 -0700
commit75b0fc6f0c58e9193dcc383765b45efd90bc0f48 (patch)
treec75b244977ff3fac1deec6e2aed0afc580c09d0d /pkgs/development/python-modules/cufflinks
parent5e331582d2308509fbd6846c38fe6eeb4448358e (diff)
python3Packages.cufflinks: 0.16 -> 0.17.3
Diffstat (limited to 'pkgs/development/python-modules/cufflinks')
-rw-r--r--pkgs/development/python-modules/cufflinks/default.nix26
1 files changed, 7 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/cufflinks/default.nix b/pkgs/development/python-modules/cufflinks/default.nix
index ed25c2c73717..315c28c74caa 100644
--- a/pkgs/development/python-modules/cufflinks/default.nix
+++ b/pkgs/development/python-modules/cufflinks/default.nix
@@ -3,7 +3,7 @@
, colorlover
, ipython
, ipywidgets
-, nose
+, pytest
, numpy
, pandas
, six
@@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "cufflinks";
- version = "0.16";
+ version = "0.17.3";
src = fetchPypi {
inherit pname version;
- sha256 = "163lag5g4micpqm3m4qy9b5r06a7pw45nq80x4skxc7dcrly2ygd";
+ sha256 = "0i56062k54dlg5iz3qyl1ykww62mpkp8jr4n450h0c60dm0b7ha8";
};
propagatedBuildInputs = [
@@ -30,24 +30,12 @@ buildPythonPackage rec {
statsmodels
];
- patches = [
- # Plotly 4 compatibility. Remove with next release, assuming it gets merged.
- (fetchpatch {
- url = "https://github.com/santosjorge/cufflinks/pull/202/commits/e291dce14181858cb457404adfdaf2624b6d0594.patch";
- sha256 = "1l0dahwqn3cxg49v3i3amwi80dmx2bi5zrazmgzpwsfargmk2kd1";
- })
- ];
-
- # in plotly4+, the plotly.plotly module was moved to chart-studio.plotly
- postPatch = ''
- substituteInPlace requirements.txt \
- --replace "plotly>=3.0.0,<4.0.0a0" "chart-studio"
- '';
-
- checkInputs = [ nose ];
+ checkInputs = [ pytest ];
+ # ignore tests which are incompatible with pandas>=1.0
+ # https://github.com/santosjorge/cufflinks/issues/236
checkPhase = ''
- nosetests -xv tests.py
+ pytest tests.py -k 'not bar_row'
'';
meta = with lib; {