python312Packages.hvplot: fix checks on darwin
fix checkphase on darwin to not access the display
This commit is contained in:
@@ -69,6 +69,12 @@ buildPythonPackage rec {
|
||||
"hvplot/tests/testutil.py"
|
||||
];
|
||||
|
||||
# need to set MPLBACKEND=agg for headless matplotlib for darwin
|
||||
# https://github.com/matplotlib/matplotlib/issues/26292
|
||||
preCheck = ''
|
||||
export MPLBACKEND=agg
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "hvplot.pandas" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user