python39Packages.ismartgate: disable failing tests

This commit is contained in:
Fabian Affolter 2022-04-27 10:46:57 +02:00
parent 120fd26391
commit 253e99cecc

View file

@ -18,13 +18,15 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "ismartgate"; pname = "ismartgate";
version = "4.0.4"; version = "4.0.4";
format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bdraco"; owner = "bdraco";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U="; hash = "sha256-yh7gPyy3VMdyINBCZo5K2wA0BY7yYgHrKGZRB/pm77U=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -49,7 +51,15 @@ buildPythonPackage rec {
--replace '"pytest-runner>=5.2",' "" --replace '"pytest-runner>=5.2",' ""
''; '';
pythonImportsCheck = [ "ismartgate" ]; pythonImportsCheck = [
"ismartgate"
];
disabledTestPaths = [
# Tests are out-dated
"ismartgate/tests/test_init.py"
];
meta = with lib; { meta = with lib; {
description = "Python module to work with the ismartgate and gogogate2 API"; description = "Python module to work with the ismartgate and gogogate2 API";