python312Packages.hvplot: disable failing tests

This commit is contained in:
Gaetan Lepage
2025-02-17 10:22:50 +01:00
parent b05ebaaf7c
commit c55f0585ed
@@ -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"