Unverified Commit ef3ead5d authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python313Packages.pysiaalarm: fix tests

parent e4269138
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -8,14 +8,15 @@
  setuptools-scm,
  pytest-asyncio,
  pytest-cases,
  pytest7CheckHook,
  pytest-cov-stub,
  pytestCheckHook,
  pytz,
}:

buildPythonPackage rec {
  pname = "pysiaalarm";
  version = "3.1.1";
  format = "setuptools";
  pyproject = true;

  disabled = pythonOlder "3.8";

@@ -27,11 +28,9 @@ buildPythonPackage rec {
  postPatch = ''
    substituteInPlace setup.cfg \
      --replace "==" ">="
    substituteInPlace pytest.ini \
      --replace "--cov pysiaalarm --cov-report term-missing" ""
  '';

  nativeBuildInputs = [ setuptools-scm ];
  build-system = [ setuptools-scm ];

  propagatedBuildInputs = [
    dataclasses-json
@@ -42,7 +41,8 @@ buildPythonPackage rec {
  nativeCheckInputs = [
    pytest-asyncio
    pytest-cases
    pytest7CheckHook
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [