Commit f3a39f21 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.psrpcore: disable failing tests on Python 3.11

parent 95df4033
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, cryptography
, fetchFromGitHub
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, xmldiff
}:
@@ -30,11 +31,17 @@ buildPythonPackage rec {
    xmldiff
  ];


  pythonImportsCheck = [
    "psrpcore"
  ];

  disabledTests = lib.optionals (pythonAtLeast "3.11") [
    # https://github.com/jborean93/psrpcore/issues/22
    "test_remote_stream_options"
    "test_ps_flags"
  ];


  meta = with lib; {
    description = "Library for the PowerShell Remoting Protocol (PSRP)";
    homepage = "https://github.com/jborean93/psrpcore";