GNU bug report logs - #39110
[PATCH 1/2] gnu: Add python-asynctest

Previous Next

Package: guix-patches;

Reported by: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>

Date: Mon, 13 Jan 2020 09:27:02 UTC

Severity: normal

Tags: patch

Done: iyzsong <at> member.fsf.org (宋文武)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: iyzsong <at> member.fsf.org (宋文武)
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39110: closed ([PATCH 1/2] gnu: Add python-asynctest)
Date: Sat, 18 Jan 2020 09:47:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 18 Jan 2020 17:45:43 +0800
with message-id <87iml914jc.fsf <at> member.fsf.org>
and subject line Re: [bug#39110] [PATCH 1/2] gnu: Add python-asynctest
has caused the debbugs.gnu.org bug report #39110,
regarding [PATCH 1/2] gnu: Add python-asynctest
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39110: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39110
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
To: guix-patches <at> gnu.org
Cc: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Subject: [PATCH 1/2] gnu: Add python-asynctest
Date: Mon, 13 Jan 2020 10:26:34 +0100
* gnu/packages/python-xyz.scm (python-asynctest): New variable
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9736bfa3fa..21d7b21132 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17280,3 +17280,36 @@ server implementation of the SSHv2 protocol on top of the Python 3.6+ asyncio
 framework")
     (license license:epl2.0)))
 
+(define-public python-asynctest
+  (package
+    (name "python-asynctest")
+    (version "0.13.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "asynctest" version))
+        (sha256
+          (base32
+            "1b3zsy7p84gag6q8ai2ylyrhx213qdk2h2zb6im3xn0m5n264y62"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "python" "-X" "dev" "-m" "unittest" "test")))
+         (add-after 'unpack 'disable-tests
+           (lambda* _
+            (substitute* "test/test_selector.py"
+              ;; Test fails for unknown reason
+              (("def test_events_watched_outside_test_are_ignored")
+                "@unittest.skip('disabled by guix')\n    def test_events_watched_outside_test_are_ignored")))))))
+    (home-page
+      "https://github.com/Martiusweb/asynctest")
+    (synopsis
+      "Enhance the standard unittest package with features for testing asyncio
+libraries")
+    (description
+      "The package asynctest is built on top of the standard unittest module
+and cuts down boilerplate code when testing libraries for asyncio")
+    (license license:asl2.0)))
-- 
2.20.1



[Message part 3 (message/rfc822, inline)]
From: iyzsong <at> member.fsf.org (宋文武)
To: Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
Cc: 39110-done <at> debbugs.gnu.org
Subject: Re: [bug#39110] [PATCH 1/2] gnu: Add python-asynctest
Date: Sat, 18 Jan 2020 17:45:43 +0800
Lars-Dominik Braun <ldb <at> leibniz-psychology.org> writes:

> Hi,
>
> sorry, this was unintentional. python-asyncssh is added in
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39028, but this one should be
> independent. I’ll rebase on top of master and resend the patch series.

Pushed to master now, thank you!


This bug report was last modified 5 years and 127 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.