Unverified Commit 1a75385e authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #216190 from fabaff/simplisafe-python-at

python310Packages.simplisafe-python: drop asynctest
parents 04ffb314 64bf02e1
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
{ lib
, aiohttp
, aresponses
, asynctest
, backoff
, beautifulsoup4
, buildPythonPackage
@@ -23,7 +22,7 @@ buildPythonPackage rec {
  version = "2022.12.1";
  format = "pyproject";

  disabled = pythonOlder "3.8";
  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "bachya";
@@ -48,18 +47,12 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    aresponses
    asynctest
    pytest-aiohttp
    pytest-asyncio
    pytestCheckHook
    types-pytz
  ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace 'docutils = "<0.18"' 'docutils = "*"'
  '';

  disabledTests = [
    # simplipy/api.py:253: InvalidCredentialsError
    "test_request_error_failed_retry"