guix-commits
[Top][All Lists]
Advanced

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

53/57: gnu: python-pyproject-metadata: Disable two tests.


From: guix-commits
Subject: 53/57: gnu: python-pyproject-metadata: Disable two tests.
Date: Mon, 6 May 2024 04:08:22 -0400 (EDT)

rekado pushed a commit to branch python-team
in repository guix.

commit 8073c856474ccbed555cb1abca73c769d2d352a4
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sat Apr 6 10:58:21 2024 +0200

    gnu: python-pyproject-metadata: Disable two tests.
    
    * gnu/packages/python-xyz.scm (python-pyproject-metadata)[arguments]:
    Disable two tests.
    (python-pyproject-metadata-0.7)[arguments]: Override.
    
    Change-Id: I13bdf9d9e8705d84306f235b1abd58a147726426
---
 gnu/packages/python-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1fe6b409c8..1c9bea820c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14341,6 +14341,12 @@ plugin for flake8 to check PEP-8 naming conventions.")
         (base32
          "0yvs59ymz5gdix34a95wxlxvk9bnvjgrzsnmnc3ws7whpfv3yasm"))))
     (build-system pyproject-build-system)
+    (arguments
+     (list
+      #:test-flags
+      ;; Two tests fail because the error message slightly changed, so the
+      ;; tests' regular expressions no longer match.
+      '(list "--ignore=tests/test_standard_metadata.py")))
     (propagated-inputs (list python-packaging))
     (native-inputs (list python-pypa-build python-pytest python-setuptools
                          python-tomli python-wheel))
@@ -14367,7 +14373,8 @@ file (e.g. @file{PKG-INFO}).")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0yvs59ymz5gdix34a95wxlxvk9bnvjgrzsnmnc3ws7whpfv3yasm"))))))
+         "0yvs59ymz5gdix34a95wxlxvk9bnvjgrzsnmnc3ws7whpfv3yasm"))))
+    (arguments '())))
 
 ;; pep621 was renamed to pyproject-metadata.
 (define-public python-pep621



reply via email to

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