From f7fa10ff43e47fb6420ee1722d3e18519b1520a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 12 Jan 2022 00:38:40 +0100 Subject: [PATCH] python310Packages.rpyc: disable failing test --- .../python-modules/rpyc/default.nix | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/rpyc/default.nix b/pkgs/development/python-modules/rpyc/default.nix index e56aed2aeb7c..61a2f1e75605 100644 --- a/pkgs/development/python-modules/rpyc/default.nix +++ b/pkgs/development/python-modules/rpyc/default.nix @@ -3,11 +3,15 @@ , fetchFromGitHub , plumbum , pytestCheckHook +, pythonOlder }: buildPythonPackage rec { pname = "rpyc"; version = "5.0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "tomerfiliba"; @@ -16,17 +20,27 @@ buildPythonPackage rec { sha256 = "1g75k4valfjgab00xri4pf8c8bb2zxkhgkpyy44fjk7s5j66daa1"; }; - propagatedBuildInputs = [ plumbum ]; + propagatedBuildInputs = [ + plumbum + ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; - # Disable tests that requires network access disabledTests = [ + # Disable tests that requires network access "test_api" "test_pruning" "test_rpyc" + # Test is outdated + # ssl.SSLError: [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997) + "test_ssl_conenction" + ]; + + pythonImportsCheck = [ + "rpyc" ]; - pythonImportsCheck = [ "rpyc" ]; meta = with lib; { description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";