diff mbox series

[bug#73038,1/2] gnu: python-apprise: Fix build.

Message ID fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725545669.git.steve@futurile.net
State New
Headers show
Series Update borgmatic to 1.8.14 | expand

Commit Message

Steve George Sept. 5, 2024, 2:16 p.m. UTC
* gnu/packages/python-xyz.scm (python-apprise): fix build failures
    [native-inputs]: Remove unused python-flake8
    [arguments]: turn off mqltt_tls tests that fail

Change-Id: Ia1a5b3d6ff284dc57f083c4bdbd1f6356be7a700
---
 gnu/packages/python-xyz.scm | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)


base-commit: f42427046b11029faaa69b7f10c77b45240e1111
diff mbox series

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 650220b71c..87c27beb55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -324,7 +324,6 @@  (define-public python-apprise
     (native-inputs (list python-babel
                          python-coverage
                          python-cryptography
-                         python-flake8
                          python-paho-mqtt
                          python-pytest
                          python-pytest-cov
@@ -333,12 +332,16 @@  (define-public python-apprise
                          python-wheel))
     (arguments
      (list
-      #:phases #~(modify-phases %standard-phases
-                   (replace 'check
-                     (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-                       (when tests?
-                         (delete-file "test/test_plugin_macosx.py")
-                         (invoke "pytest")))))))
+      #:phases
+        #~(modify-phases %standard-phases
+            (replace 'check
+              (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+                (when tests?
+                  (delete-file "test/test_plugin_macosx.py")
+                  (invoke "pytest" "-vv" "-k"
+                          (string-append
+                           "not test_plugin_mqtt_tls_connect_success"
+                           " and not test_plugin_mqtt_tls_no_verify_success"))))))))
     (home-page "https://github.com/caronc/apprise")
     (synopsis
      "Push notification Python library that works with many platforms")