From b0115c2fac63d71eb83108106f2612bb47831497 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Thu, 16 Feb 2017 13:20:53 +0000 Subject: [PATCH 1/4] Logbook: 0.11.3 -> 1.0.0 --- pkgs/top-level/python-packages.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 63fc33ed17e..6ae7d0c6391 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -28965,14 +28965,14 @@ EOF Logbook = buildPythonPackage rec { name = "Logbook-${version}"; - version = "0.11.3"; + version = "1.0.0"; src = pkgs.fetchurl { url = "mirror://pypi/L/Logbook/${name}.tar.gz"; - sha256 = "0bchn00jj0y4dmrmqsm29ffcx37g79jcxjihadmgz2aj0z6dbsrc"; + sha256 = "0whqbx5p0zkf7gmb5ssnsnhm4kn4drd4x7fbhdi8dnxklqajbnl7"; }; - buildInputs = [ self.pytest ]; + buildInputs = [ self.pytest ] ++ optionals (!isPy3k) [ self.mock ]; checkPhase = '' find tests -name \*.pyc -delete From 5e31a7cca61286f90571432f6775d6a908361699 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Thu, 16 Feb 2017 16:05:10 +0000 Subject: [PATCH 2/4] pytables: 3.2.2 -> 3.3.0 --- pkgs/development/python-modules/tables/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index 88a39400c77..e5de7c4e2a4 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -1,17 +1,17 @@ { stdenv, fetchurl, python, buildPythonPackage -, cython, bzip2, lzo, numpy, numexpr, hdf5 }: +, cython, bzip2, lzo, numpy, numexpr, hdf5, six }: buildPythonPackage rec { - version = "3.2.2"; + version = "3.3.0"; name = "tables-${version}"; src = fetchurl { url = "mirror://pypi/t/tables/${name}.tar.gz"; - sha256 = "3564b351a71ec1737b503b001eb7ceae1f65d5d6e3ffe1ea75aafba10f37fa84"; + sha256 = "0b4211s0zzdmh74k49ss0m9lc2ql2iazq2aa95ams6h45vqcr0w3"; }; buildInputs = [ hdf5 cython bzip2 lzo ]; - propagatedBuildInputs = [ numpy numexpr ]; + propagatedBuildInputs = [ numpy numexpr six ]; # The setup script complains about missing run-paths, but they are # actually set. From 90223a9bbd7f44153bb7e45f5fc757c86d67cdd9 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Fri, 17 Feb 2017 08:52:45 +0000 Subject: [PATCH 3/4] vega: add pytest as a build-input. It's unclear how this worked before but it clearly did because we have vega running in production. --- pkgs/top-level/python-packages.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6ae7d0c6391..1ca0a76d6bb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -456,6 +456,7 @@ in { sha256 = "08k92afnk0bivm07h1l5nh26xl2rfp7qn03aq17q1hr3fs5r6cdm"; }; + buildInputs = [ self.pytest ]; propagatedBuildInputs = with self; [ jupyter_core pandas ]; meta = { From 5a9e14ee16374313bad0cbac4f3969d132ca2f19 Mon Sep 17 00:00:00 2001 From: Tom Hunger Date: Fri, 17 Feb 2017 09:14:18 +0000 Subject: [PATCH 4/4] altair: 1.0.0 -> 1.2.0 Also disabling tests because the test runner picks up too much and then fails. --- pkgs/top-level/python-packages.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1ca0a76d6bb..15c1b2bbb28 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -431,15 +431,19 @@ in { }; altair = buildPythonPackage rec { - name = "altair-1.0.0"; + name = "altair-1.2.0"; src = pkgs.fetchurl { url = "mirror://pypi/a/altair/${name}.tar.gz"; - sha256 = "024drhmiw8w3dl7dbal0pvnlfd3sv4n1rqywv2jb488b3fzm704r"; + sha256 = "05c47dm20p7m0017p2h38il721rxag1q0457dj7whp0k8rc7qd1n"; }; + buildInputs = [ self.pytest ]; + checkPhase = '' + export LANG=en_US.UTF-8 + py.test altair --doctest-modules + ''; propagatedBuildInputs = with self; [ vega pandas ipython traitlets ]; - meta = { description = "A declarative statistical visualization library for Python."; homepage = https://github.com/altair-viz/altair;