Merge pull request #311203 from getchoo/pkgs/apprise/badtest

python311Packages.apprise: disable nondeterministic tests; modernize; adopt
This commit is contained in:
Weijia Wang 2024-05-13 11:09:57 +02:00 committed by GitHub
commit 7e2a89c5b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ buildPythonPackage rec {
setuptools setuptools
]; ];
propagatedBuildInputs = [ dependencies = [
click click
cryptography cryptography
markdown markdown
@ -57,7 +57,11 @@ buildPythonPackage rec {
disabledTests = [ disabledTests = [
"test_apprise_cli_nux_env" "test_apprise_cli_nux_env"
# Nondeterministic. Fails with `assert 0 == 1`
"test_notify_emoji_general"
"test_plugin_mqtt_general" "test_plugin_mqtt_general"
# Nondeterministic. Fails with `AssertionError`
"test_plugin_xbmc_kodi_urls"
]; ];
disabledTestPaths = [ disabledTestPaths = [
@ -76,7 +80,7 @@ buildPythonPackage rec {
homepage = "https://github.com/caronc/apprise"; homepage = "https://github.com/caronc/apprise";
changelog = "https://github.com/caronc/apprise/releases/tag/v${version}"; changelog = "https://github.com/caronc/apprise/releases/tag/v${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ]; maintainers = with maintainers; [ getchoo ];
mainProgram = "apprise"; mainProgram = "apprise";
}; };
} }