2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
confluent-kafka,
|
|
|
|
dask,
|
|
|
|
dask-expr,
|
|
|
|
distributed,
|
|
|
|
flaky,
|
|
|
|
graphviz,
|
|
|
|
networkx,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytestCheckHook,
|
|
|
|
requests,
|
|
|
|
six,
|
|
|
|
toolz,
|
|
|
|
tornado,
|
|
|
|
zict,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "streamz";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.6.4";
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-VXfWkEwuxInBQVQJV3IQXgGVRkiBmYfUZCBMbjyWNPM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
|
|
|
dependencies = [
|
2020-04-24 23:36:52 +00:00
|
|
|
networkx
|
2021-12-06 16:07:01 +00:00
|
|
|
six
|
2020-04-24 23:36:52 +00:00
|
|
|
toolz
|
2021-12-06 16:07:01 +00:00
|
|
|
tornado
|
2020-04-24 23:36:52 +00:00
|
|
|
zict
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
confluent-kafka
|
2024-05-15 15:35:15 +00:00
|
|
|
dask
|
|
|
|
dask-expr
|
2020-04-24 23:36:52 +00:00
|
|
|
distributed
|
2020-08-20 17:08:02 +00:00
|
|
|
flaky
|
2020-04-24 23:36:52 +00:00
|
|
|
graphviz
|
2021-12-06 16:07:01 +00:00
|
|
|
pytest-asyncio
|
|
|
|
pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "streamz" ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
disabledTests = [
|
2022-08-12 12:06:08 +00:00
|
|
|
# Error with distutils version: fixture 'cleanup' not found
|
|
|
|
"test_separate_thread_without_time"
|
|
|
|
"test_await_syntax"
|
|
|
|
"test_partition_then_scatter_sync"
|
|
|
|
"test_sync"
|
|
|
|
"test_sync_2"
|
2022-06-26 10:26:21 +00:00
|
|
|
# Test fail in the sandbox
|
2021-12-06 16:07:01 +00:00
|
|
|
"test_tcp_async"
|
|
|
|
"test_tcp"
|
|
|
|
"test_partition_timeout"
|
2022-06-26 10:26:21 +00:00
|
|
|
# Tests are flaky
|
|
|
|
"test_from_iterable"
|
|
|
|
"test_buffer"
|
2021-12-06 16:07:01 +00:00
|
|
|
];
|
2022-06-26 10:26:21 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
disabledTestPaths = [
|
2022-06-26 10:26:21 +00:00
|
|
|
# Disable kafka tests
|
2021-12-06 16:07:01 +00:00
|
|
|
"streamz/tests/test_kafka.py"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Pipelines to manage continuous streams of data";
|
|
|
|
homepage = "https://github.com/python-streamz/streamz";
|
|
|
|
license = licenses.bsd3;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|