pythonPackages.autobahn: disable tests

This commit is contained in:
Frederik Rietdijk 2019-08-18 10:08:15 +02:00
parent 78559b5a16
commit 556248d35f

View File

@ -1,6 +1,6 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k, { lib, buildPythonPackage, fetchPypi, isPy3k,
six, txaio, twisted, zope_interface, cffi, trollius, futures, six, txaio, twisted, zope_interface, cffi, trollius, futures,
mock, pytest mock, pytest, cryptography, pynacl
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "autobahn"; pname = "autobahn";
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304"; sha256 = "294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304";
}; };
propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++ propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++
(lib.optionals (!isPy3k) [ trollius futures ]); (lib.optionals (!isPy3k) [ trollius futures ]);
checkInputs = [ mock pytest ]; checkInputs = [ mock pytest ];
@ -21,6 +21,10 @@ buildPythonPackage rec {
runHook postCheck runHook postCheck
''; '';
# Tests do no seem to be compatible yet with pytest 5.1
# https://github.com/crossbario/autobahn-python/issues/1235
doCheck = false;
meta = with lib; { meta = with lib; {
description = "WebSocket and WAMP in Python for Twisted and asyncio."; description = "WebSocket and WAMP in Python for Twisted and asyncio.";
homepage = "https://crossbar.io/autobahn"; homepage = "https://crossbar.io/autobahn";