about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-18 10:08:15 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:48:40 +0200
commit556248d35ffa5f55809603515713a3d6442bcc4a (patch)
tree49fa26fa784a12a436dbeb82fbb2219971d30333
parent78559b5a161b39e29612f086d58017d7b0654f26 (diff)
downloadnixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar.gz
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar.bz2
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar.lz
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar.xz
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.tar.zst
nixlib-556248d35ffa5f55809603515713a3d6442bcc4a.zip
pythonPackages.autobahn: disable tests
-rw-r--r--pkgs/development/python-modules/autobahn/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/autobahn/default.nix b/pkgs/development/python-modules/autobahn/default.nix
index 1a050537b22a..7d1e365b243c 100644
--- a/pkgs/development/python-modules/autobahn/default.nix
+++ b/pkgs/development/python-modules/autobahn/default.nix
@@ -1,6 +1,6 @@
 { lib, buildPythonPackage, fetchPypi, isPy3k,
   six, txaio, twisted, zope_interface, cffi, trollius, futures,
-  mock, pytest
+  mock, pytest, cryptography, pynacl
 }:
 buildPythonPackage rec {
   pname = "autobahn";
@@ -11,7 +11,7 @@ buildPythonPackage rec {
     sha256 = "294e7381dd54e73834354832604ae85567caf391c39363fed0ea2bfa86aa4304";
   };
 
-  propagatedBuildInputs = [ six txaio twisted zope_interface cffi ] ++
+  propagatedBuildInputs = [ six txaio twisted zope_interface cffi cryptography pynacl ] ++
     (lib.optionals (!isPy3k) [ trollius futures ]);
 
   checkInputs = [ mock pytest ];
@@ -21,6 +21,10 @@ buildPythonPackage rec {
     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; {
     description = "WebSocket and WAMP in Python for Twisted and asyncio.";
     homepage    = "https://crossbar.io/autobahn";