Unverified Commit 5fd3e51e authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python312Packages.apprise: don't use python-xdist (#347214)

parents ed9b8546 0305c511
Loading
Loading
Loading
Loading
+0 −25
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@
  markdown,
  paho-mqtt,
  pytest-mock,
  pytest-xdist,
  pytestCheckHook,
  pythonOlder,
  pyyaml,
@@ -53,33 +52,9 @@ buildPythonPackage rec {
    gntp
    paho-mqtt
    pytest-mock
    pytest-xdist
    pytestCheckHook
  ];

  disabledTests = [
    "test_apprise_cli_nux_env"
    # Nondeterministic. Fails with `assert 0 == 1`
    "test_notify_emoji_general"
    "test_plugin_mqtt_general"
    # Nondeterministic. Fails with `assert 3 == 2`
    "test_plugin_matrix_transaction_ids_api_v3"
    # Nondeterministic. Fails with `IndexError`
    # https://github.com/NixOS/nixpkgs/issues/346894
    "test_plugin_wxpusher_result_set"
    # Nondeterministic. Fails with `AssertionError`
    "test_plugin_xbmc_kodi_urls"
    # Nondeterministic. Fails with `AssertionError`
    "test_plugin_zulip_urls"
  ];

  disabledTestPaths = [
    # AttributeError: module 'apprise.plugins' has no attribute 'NotifyBulkSMS'
    "test/test_plugin_bulksms.py"
    # Nondeterministic. Multiple tests will fail with `AssertionError`
    "test/test_plugin_workflows.py"
  ];

  postInstall = ''
    installManPage packaging/man/apprise.1
  '';