unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 60219@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#60219] [PATCH 3/4] gnu: python-eventlet: Manage broken tests with nosetests.
Date: Tue, 20 Dec 2022 16:09:54 +0100	[thread overview]
Message-ID: <20221220150955.17061-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20221220150955.17061-1-ngraves@ngraves.fr>

* gnu/packages/python-xyz.scm (python-eventlet):
  [arguments] Manage broken tests with nosetests.
---
 gnu/packages/python-xyz.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 76f1feba97..662516ce42 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2865,15 +2865,14 @@ (define-public python-eventlet
              ;; getprotobyname is called.  Thankfully there is an environment
              ;; variable to disable the greendns import, so use it:
              (setenv "EVENTLET_NO_GREENDNS" "yes")))
-         (add-after 'unpack 'delete-broken-tests
-           (lambda _
-             (delete-file "tests/greendns_test.py")
-             (delete-file "tests/socket_test.py")))
-         ;; See https://github.com/eventlet/eventlet/issues/562#issuecomment-714183009
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
-               (invoke "nosetests" "-v" "tests/")))))))
+               (invoke
+                "nosetests"
+                "-v" "tests/"
+                "-I" "greendns_test.py"
+                "-I" "socket_test.py")))))))
     (home-page "https://eventlet.net")
     (synopsis "Concurrent networking library for Python")
     (description
-- 
2.38.1





  parent reply	other threads:[~2022-12-20 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20 15:03 [bug#60219] update python-greenlet Nicolas Graves via Guix-patches via
2022-12-20 15:09 ` [bug#60219] [PATCH 1/4] gnu: python-greenlet: Update to 2.0.1 Nicolas Graves via Guix-patches via
2022-12-20 15:09   ` [bug#60219] [PATCH 2/4] gnu: python-gevent: Update to 22.10.2 Nicolas Graves via Guix-patches via
2022-12-20 15:09   ` Nicolas Graves via Guix-patches via [this message]
2022-12-20 15:09   ` [bug#60219] [PATCH 4/4] gnu: python-eventlet: Exclude broken test Nicolas Graves via Guix-patches via
2023-01-19 16:36   ` bug#60219: update python-greenlet Ludovic Courtès

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=20221220150955.17061-3-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=60219@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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).