unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Your Name <steve@futurile.net>
To: 73038@debbugs.gnu.org
Cc: Your Name <steve@futurile.net>, Lars-Dominik Braun <lars@6xq.net>,
	Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#73038] [PATCH 1/2] gnu: python-apprise: Fix build.
Date: Thu,  5 Sep 2024 15:16:59 +0100	[thread overview]
Message-ID: <fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725545669.git.steve@futurile.net> (raw)
In-Reply-To: <cover.1725538532.git.steve@futurile.net>

* 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(-)

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")

base-commit: f42427046b11029faaa69b7f10c77b45240e1111
-- 
2.45.2





WARNING: multiple messages have this Message-ID (diff)
From: Steve George <steve@futurile.net>
To: 73038@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>,
	Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#73038] [PATCH 1/2] gnu: python-apprise: Fix build.
Date: Thu,  5 Sep 2024 15:36:29 +0100	[thread overview]
Message-ID: <fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725545669.git.steve@futurile.net> (raw)
Message-ID: <20240905143629.-mlvv1-CrZ4xZWeXzU4roOczTKj60LLVIuTqrYJyU0Q@z> (raw)
In-Reply-To: <cover.1725538532.git.steve@futurile.net>

* 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(-)

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")

base-commit: f42427046b11029faaa69b7f10c77b45240e1111
-- 
2.45.2





  reply	other threads:[~2024-09-05 14:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-05 13:00 [bug#73038] [PATCH 0/2] Update borgmatic to 1.8.14 Your Name
2024-09-05 14:16 ` Your Name [this message]
2024-09-05 14:36   ` [bug#73038] [PATCH 1/2] gnu: python-apprise: Fix build Steve George
2024-09-05 14:36 ` [bug#73038] [PATCH 2/2] gnu: borgmatic: Update to 1.8.14 Steve George
2024-09-05 14:17   ` Your Name
2024-09-05 14:57 ` [bug#73038] [PATCH 1/2] gnu: python-apprise: Fix build Steve George
2024-09-07  8:32 ` [bug#73038] [PATCH v2 0/2] Series to update borgmatic to 1.8.14 Steve George
2024-09-07  8:32   ` [bug#73038] [PATCH v2 1/2] gnu: python-apprise: Fix build Steve George
2024-09-07  8:32   ` [bug#73038] [PATCH v2 2/2] gnu: borgmatic: Update to 1.8.14 Steve George
2024-09-07 19:30     ` [bug#73038] [PATCH 0/2] Update borgmatic " jgart via Guix-patches via
2024-09-09 12:15       ` Steve George
2024-09-10  4:48         ` bug#73038: " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb4ceceb92c6d61056dce8b7e0d7d11849df3a75.1725545669.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=73038@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).