From 72bda5bdcc3b0425f92003e79dd860fc0b1a5617 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 6 Aug 2019 19:00:18 -0700 Subject: [PATCH] pythonPackages.altair: 3.1.0 -> 3.2.0 --- .../python-modules/altair/default.nix | 50 +++++++++++++------ 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/pkgs/development/python-modules/altair/default.nix b/pkgs/development/python-modules/altair/default.nix index 4d78ad80cc32..344a724756ed 100644 --- a/pkgs/development/python-modules/altair/default.nix +++ b/pkgs/development/python-modules/altair/default.nix @@ -1,30 +1,52 @@ { stdenv, buildPythonPackage, fetchPypi -, pytest, jinja2, sphinx, vega_datasets, ipython, glibcLocales -, entrypoints, jsonschema, numpy, pandas, six, toolz, typing -, pythonOlder, recommonmark }: +, entrypoints +, glibcLocales +, ipython +, jinja2 +, jsonschema +, numpy +, pandas +, pytest +, pythonOlder +, recommonmark +, six +, sphinx +, toolz +, typing +, vega_datasets +}: buildPythonPackage rec { pname = "altair"; - version = "3.1.0"; + version = "3.2.0"; src = fetchPypi { inherit pname version; - sha256 = "1zdznkybw3g8fd280h5j5cnnwcv30610gp8fl8vwqda1w2p6pgvp"; + sha256 = "098macm0sw54xqijdy1c8cppcgw79wn52qdc71qqb51nibc17gls"; }; - postPatch = '' - # Tests require network - rm altair/examples/boxplot_max_min.py altair/examples/line_percent.py - ''; + propagatedBuildInputs = [ + entrypoints + jsonschema + numpy + pandas + six + toolz + ] ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ]; - checkInputs = [ pytest jinja2 sphinx vega_datasets ipython glibcLocales recommonmark ]; - - propagatedBuildInputs = [ entrypoints jsonschema numpy pandas six toolz ] - ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ]; + checkInputs = [ + glibcLocales + ipython + jinja2 + pytest + recommonmark + sphinx + vega_datasets + ]; checkPhase = '' export LANG=en_US.UTF-8 - py.test altair --doctest-modules + pytest --doctest-modules altair ''; meta = with stdenv.lib; {