python3Packages.streamz: 0.6.2 -> 0.6.3

This commit is contained in:
Fabian Affolter 2021-11-09 18:30:13 +01:00
parent 2de888a972
commit 0cad88a48f

View file

@ -1,44 +1,39 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi
, fetchpatch
, confluent-kafka , confluent-kafka
, distributed , distributed
, fetchPypi
, flaky , flaky
, graphviz , graphviz
, networkx , networkx
, pytest , pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests , requests
, six , six
, toolz , toolz
, tornado , tornado
, zict , zict
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "streamz"; pname = "streamz";
version = "0.6.2"; version = "0.6.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "04446ece273c041506b1642bd3d8380367a8372196be4d6d6d03faafadc590b2"; sha256 = "sha256-0wZ1ldLFRAIL9R+gLfwsFbL+gvdORAkYWNjnDmeafm8=";
}; };
patches = [
# Fix apply import from dask
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/python-streamz/streamz/pull/423.patch";
sha256 = "sha256-CR+uRvzaFu9WQ633tbvX3gAnudhlVN6VvmxKiR37diw=";
})
];
propagatedBuildInputs = [ propagatedBuildInputs = [
networkx networkx
tornado
toolz
zict
six six
toolz
tornado
zict
]; ];
checkInputs = [ checkInputs = [
@ -46,25 +41,31 @@ buildPythonPackage rec {
distributed distributed
flaky flaky
graphviz graphviz
pytest pytest-asyncio
pytestCheckHook
requests requests
]; ];
disabled = pythonOlder "3.6"; disabledTests = [
# Disable test_tcp_async because fails on sandbox build
"test_partition_timeout"
"test_tcp_async"
"test_tcp"
];
# Disable test_tcp_async because fails on sandbox build disabledTestPaths = [
# disable kafka tests # Disable kafka tests
checkPhase = '' "streamz/tests/test_kafka.py"
pytest --deselect=streamz/tests/test_sources.py::test_tcp_async \ ];
--deselect=streamz/tests/test_sources.py::test_tcp \
--deselect=streamz/tests/test_core.py::test_partition_timeout \ pythonImportsCheck = [
--ignore=streamz/tests/test_kafka.py "streamz"
''; ];
meta = with lib; { meta = with lib; {
description = "Pipelines to manage continuous streams of data"; description = "Pipelines to manage continuous streams of data";
homepage = "https://github.com/python-streamz/streamz"; homepage = "https://github.com/python-streamz/streamz";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.costrouc ]; maintainers = with maintainers; [ costrouc ];
}; };
} }