python3Packages.altair: propagate jinja2 as buildInput

also add an pythonImportsCheck
This commit is contained in:
Justin Humm 2021-03-11 19:16:10 +01:00 committed by erictapen
parent 772f77f8ce
commit 6976cad5c7

View File

@ -33,18 +33,20 @@ buildPythonPackage rec {
pandas pandas
six six
toolz toolz
jinja2
] ++ lib.optionals (pythonOlder "3.5") [ typing ]; ] ++ lib.optionals (pythonOlder "3.5") [ typing ];
checkInputs = [ checkInputs = [
glibcLocales glibcLocales
ipython ipython
jinja2
pytest pytest
recommonmark recommonmark
sphinx sphinx
vega_datasets vega_datasets
]; ];
pythonImportsCheck = [ "altair" ];
checkPhase = '' checkPhase = ''
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
# histogram_responsive.py attempt network access, and cannot be disabled through pytest flags # histogram_responsive.py attempt network access, and cannot be disabled through pytest flags