git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #154678 from fabaff/bump-rpyc

python310Packages.rpyc: disable failing test

commitbcaaf38e9870304b0e402730cfad45212dfbe1ad authorFabian Affolter <fabian@affolter-engineering.ch> dateWed 12 Jan 2022, 09:05 (5 years ago) parentac71e55f7fa10f
1 file changed+18−4
pkgs/development/python-modules/rpyc/default.nix+18−4
pkgs/development/python-modules/rpyc/default.nix+18−4
@@ -3,11 +3,15 @@
33, fetchFromGitHub
44, plumbum
55, pytestCheckHook
6+, pythonOlder
67}:
78
89buildPythonPackage rec {
910 pname = "rpyc";
1011 version = "5.0.1";
12+ format = "setuptools";
13+
14+ disabled = pythonOlder "3.6";
1115
1216 src = fetchFromGitHub {
1317 owner = "tomerfiliba";
@@ -16,17 +20,27 @@ buildPythonPackage rec {
1620 sha256 = "1g75k4valfjgab00xri4pf8c8bb2zxkhgkpyy44fjk7s5j66daa1";
1721 };
1822
19− propagatedBuildInputs = [ plumbum ];
23+ propagatedBuildInputs = [
24+ plumbum
25+ ];
2026
21− checkInputs = [ pytestCheckHook ];
27+ checkInputs = [
28+ pytestCheckHook
29+ ];
2230
23− # Disable tests that requires network access
2431 disabledTests = [
32+ # Disable tests that requires network access
2533 "test_api"
2634 "test_pruning"
2735 "test_rpyc"
36+ # Test is outdated
37+ # ssl.SSLError: [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)
38+ "test_ssl_conenction"
39+ ];
40+
41+ pythonImportsCheck = [
42+ "rpyc"
2843 ];
29− pythonImportsCheck = [ "rpyc" ];
3044
3145 meta = with lib; {
3246 description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";