guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/27: gnu: python-exceptiongroup: Disable tests.


From: guix-commits
Subject: 09/27: gnu: python-exceptiongroup: Disable tests.
Date: Fri, 9 Sep 2022 11:08:14 -0400 (EDT)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 66b6d6a9301a70540c434f3fbd2567ff28bedcff
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Aug 12 12:17:36 2022 +0200

    gnu: python-exceptiongroup: Disable tests.
    
    * gnu/packages/python-xyz.scm (python-exceptiongroup)[arguments]: Add 
#:tests?.
    [native-inputs]: Remove PYTHON-PYTEST.
---
 gnu/packages/python-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 235a27fde9..da025f6692 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3088,6 +3088,7 @@ and is not compatible with JSON.")
     (build-system python-build-system)
     (arguments
      (list
+      #:tests? #f                       ;TODO: Circular dependency on pytest
       #:phases
       #~(modify-phases %standard-phases
           ;; XXX: PEP 517 manual build/install procedures copied from
@@ -3107,7 +3108,7 @@ and is not compatible with JSON.")
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
                 (invoke "pytest" "-vv" "tests")))))))
-    (native-inputs (list python-flit-scm python-pypa-build python-pytest))
+    (native-inputs (list python-flit-scm python-pypa-build))
     (home-page "https://github.com/agronholm/exceptiongroup";)
     (synopsis "PEP 654 backport from Python 3.11")
     (description "This is a backport of the @code{BaseExceptionGroup} and



reply via email to

[Prev in Thread] Current Thread [Next in Thread]