Unverified Commit 72c6ed32 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #299691 from fabaff/flexget-fix

python311Packages.rpyc: disable failing tests
parents 93647be1 13e9d3b0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,12 +22,12 @@ python3.pkgs.buildPythonApplication rec {
    sed 's/[~<>=][^;]*//' -i requirements.txt
  '';

  nativeBuildInputs = with python3.pkgs; [
  build-system = with python3.pkgs; [
    setuptools
    wheel
  ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3.pkgs; [
    # See https://github.com/Flexget/Flexget/blob/master/requirements.txt
    apscheduler
    beautifulsoup4
+15 −4
Original line number Diff line number Diff line
@@ -11,22 +11,22 @@
buildPythonPackage rec {
  pname = "rpyc";
  version = "6.0.0";
  format = "pyproject";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "tomerfiliba";
    repo = pname;
    repo = "rpyc";
    rev = "refs/tags/${version}";
    hash = "sha256-BvXEXZlVbOmKBwnSBCDksUkbT7JPcMX48KZe/Gd5Y8Q=";
  };

  nativeBuildInputs = [
  build-system = [
    hatchling
  ];

  propagatedBuildInputs = [
  dependencies = [
    plumbum
  ];

@@ -42,11 +42,22 @@ buildPythonPackage rec {
    "test_listing"
    "test_pruning"
    "test_rpyc"
    "test_instancecheck_across_connections"
    # Internal import error
    "test_modules"
    # Test is outdated
    # ssl.SSLError: [SSL: NO_CIPHERS_AVAILABLE] no ciphers available (_ssl.c:997)
    "test_ssl_conenction"
  ];

  disabledTestPaths = [
    # Internal import issue
    "tests/test_attributes.py"
    "tests/test_service_pickle.py"
    "tests/test_affinity.py"
    "tests/test_magic.py"
  ];

  pythonImportsCheck = [
    "rpyc"
  ];