Unverified Commit 5c737e23 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #169551 from fabaff/ismartgate-fix

python3Packages.ismartgate: disable failing tests
parents a88a3e5f 253e99ce
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -18,13 +18,15 @@
buildPythonPackage rec {
  pname = "ismartgate";
  version = "4.0.4";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "bdraco";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U=";
    hash = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U=";
  };

  propagatedBuildInputs = [
@@ -49,7 +51,15 @@ buildPythonPackage rec {
      --replace '"pytest-runner>=5.2",' ""
  '';

  pythonImportsCheck = [ "ismartgate" ];
  pythonImportsCheck = [
    "ismartgate"
  ];

  disabledTestPaths = [
    # Tests are out-dated
    "ismartgate/tests/test_init.py"
  ];


  meta = with lib; {
    description = "Python module to work with the ismartgate and gogogate2 API";