From 855a6f28876bd2b899316b0fc670a30fa13ed630 Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Mon, 15 Apr 2019 15:55:24 -0700 Subject: [PATCH 1/2] python37Packages.confluent-kafka: 0.11.6 -> 1.0.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-confluent-kafka/versions --- .../python-modules/confluent-kafka/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/confluent-kafka/default.nix b/pkgs/development/python-modules/confluent-kafka/default.nix index 65f6cb291b2d..4f9794b034e5 100644 --- a/pkgs/development/python-modules/confluent-kafka/default.nix +++ b/pkgs/development/python-modules/confluent-kafka/default.nix @@ -1,18 +1,18 @@ -{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures}: +{ stdenv, buildPythonPackage, fetchPypi, isPy3k, rdkafka, requests, avro3k, avro, futures, enum34 }: buildPythonPackage rec { - version = "0.11.6"; + version = "1.0.0"; pname = "confluent-kafka"; src = fetchPypi { inherit pname version; - sha256 = "1dvzlafgr4g0n7382s5bgbls3f9wrgr0yxd70yyxl59wddwzfii7"; + sha256 = "a7427944af963410479c2aaae27cc9d28db39c9a93299f14dcf16df80092c63a"; }; - buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ avro futures ]) ; + buildInputs = [ rdkafka requests ] ++ (if isPy3k then [ avro3k ] else [ enum34 avro futures ]) ; - # Tests fail for python3 under this pypi release - doCheck = if isPy3k then false else true; + # No tests in PyPi Tarball + doCheck = false; meta = with stdenv.lib; { description = "Confluent's Apache Kafka client for Python"; From b7a6a7c8f55f3e9054cf4a20659f3379a2644b28 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 11 May 2019 15:49:00 -0500 Subject: [PATCH 2/2] pythonPackages.streamz: 0.5.0 -> 0.5.1 --- pkgs/development/python-modules/streamz/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/streamz/default.nix b/pkgs/development/python-modules/streamz/default.nix index f779862dc610..87de719025dc 100644 --- a/pkgs/development/python-modules/streamz/default.nix +++ b/pkgs/development/python-modules/streamz/default.nix @@ -14,19 +14,13 @@ buildPythonPackage rec { pname = "streamz"; - version = "0.5.0"; + version = "0.5.1"; src = fetchPypi { inherit pname version; - sha256 = "cfdd42aa62df299f550768de5002ec83112136a34b44441db9d633b2df802fb4"; + sha256 = "80c9ded1d6e68d3b78339deb6e9baf93a633d84b4a8875221e337ac06890103f"; }; - # Pytest 4.x fails to collect streamz-dataframe tests. - # Removing them in v0.5.0. TODO: re-enable in a future release - postPatch = '' - rm -rf streamz/dataframe/tests/*.py - ''; - checkInputs = [ pytest networkx distributed confluent-kafka graphviz ]; propagatedBuildInputs = [ tornado @@ -35,8 +29,9 @@ buildPythonPackage rec { six ]; + # Disable test_tcp_async because fails on sandbox build checkPhase = '' - pytest + pytest --deselect=streamz/tests/test_sources.py::test_tcp_async ''; meta = with lib; {