diff --git a/pkgs/development/python-modules/hvplot/default.nix b/pkgs/development/python-modules/hvplot/default.nix index 6c5010fc61b0..b258af4f6c59 100644 --- a/pkgs/development/python-modules/hvplot/default.nix +++ b/pkgs/development/python-modules/hvplot/default.nix @@ -1,8 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, - pythonOlder, + fetchFromGitHub, # build-system setuptools-scm, @@ -30,11 +29,11 @@ buildPythonPackage rec { version = "0.11.2"; pyproject = true; - disabled = pythonOlder "3.9"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-t60fLxxwXkfiayLInBFxGoT3d0+qq6t1a0Xo0eAKYBA="; + src = fetchFromGitHub { + owner = "holoviz"; + repo = "hvplot"; + tag = "v${version}"; + hash = "sha256-3zACW2RDRhdGi5RBPOVQJJHT78DwcgHaCHp27gIEnjA="; }; build-system = [ @@ -60,7 +59,20 @@ buildPythonPackage rec { plotly ]; + disabledTests = [ + # Legacy dask-expr implementation is deprecated + # NotImplementedError: The legacy implementation is no longer supported + "test_dask_dataframe_patched" + "test_dask_series_patched" + ]; + disabledTestPaths = [ + # Legacy dask-expr implementation is deprecated + # NotImplementedError: The legacy implementation is no longer supported + "hvplot/tests/plotting/testcore.py" + "hvplot/tests/testcharts.py" + "hvplot/tests/testgeowithoutgv.py" + # All of the following below require xarray.tutorial files that require # downloading files from the internet (not possible in the sandbox). "hvplot/tests/testgeo.py"