pythonPackages.streamz: 0.5.0 -> 0.5.1

This commit is contained in:
Mario Rodas 2019-05-11 15:49:00 -05:00
parent 855a6f2887
commit b7a6a7c8f5
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8

View File

@ -14,19 +14,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "streamz"; pname = "streamz";
version = "0.5.0"; version = "0.5.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; 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 ]; checkInputs = [ pytest networkx distributed confluent-kafka graphviz ];
propagatedBuildInputs = [ propagatedBuildInputs = [
tornado tornado
@ -35,8 +29,9 @@ buildPythonPackage rec {
six six
]; ];
# Disable test_tcp_async because fails on sandbox build
checkPhase = '' checkPhase = ''
pytest pytest --deselect=streamz/tests/test_sources.py::test_tcp_async
''; '';
meta = with lib; { meta = with lib; {