Merge pull request #59648 from r-ryantm/auto-update/python3.7-confluent-kafka
python37Packages.confluent-kafka: 0.11.6 -> 1.0.0
This commit is contained in:
commit
89ae3d6a83
@ -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";
|
||||
|
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user