Merge pull request #57764 from timokau/pyzmq-upgrade

python.pkgs.pyzmq: 17.1.3 -> 18.0.1, disable flaky test
This commit is contained in:
Timo Kaufmann 2019-03-16 21:22:44 +00:00 committed by GitHub
commit e6fc8c7ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,11 +9,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyzmq"; pname = "pyzmq";
version = "17.1.3"; version = "18.0.1";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "83722236bd6ae6a07dec0cb728906785040e91826c7575709a258b4e21d0f812"; sha256 = "0k3y6k3l9dmih3qmc4vrw26dpjggdk5c6r6806qhgjgpyq2rhccb";
}; };
checkInputs = [ pytest tornado ]; checkInputs = [ pytest tornado ];
@ -22,12 +22,14 @@ buildPythonPackage rec {
# test_socket.py seems to be hanging # test_socket.py seems to be hanging
# others fail # others fail
# for test_monitor: https://github.com/zeromq/pyzmq/issues/1272
checkPhase = '' checkPhase = ''
py.test $out/${python.sitePackages}/zmq/ -k "not test_socket \ py.test $out/${python.sitePackages}/zmq/ -k "not test_socket \
and not test_current \ and not test_current \
and not test_instance \ and not test_instance \
and not test_callable_check \ and not test_callable_check \
and not test_on_recv_basic \ and not test_on_recv_basic \
and not test_on_recv_wake" and not test_on_recv_wake \
and not test_monitor"
''; '';
} }