GNU bug report logs - #70735
[PATCH 000/714] python native-inputs

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 3 May 2024 17:01:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Graves <ngraves <at> ngraves.fr>

Bug is archived. No further changes may be made.

Full log


Message #182 received at 70735 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70735 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 060/714] gnu: python-mutagen: Remove python-flake8
 native-input.
Date: Sat,  4 May 2024 00:19:02 +0200
* gnu/packages/music.scm (python-mutagen):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Ignore flake8 quality tests.
  [native-inputs]: Remove python-flake8.

Change-Id: Ie7d2b26d6f4d9cdfdb022ea6d159c91325134320
---
 gnu/packages/music.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index a8901d24a6..e2d0cee7b5 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -3938,9 +3938,10 @@ (define-public python-mutagen
               (sha256
                (base32
                 "1qdk6i8gyhbi1c4j5jmbfpac3q8sff2ysri1pnp7nb9wzcp615v3"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
+      #:test-flags '(list "--ignore=tests/quality/test_flake8.py")
        #:phases
        #~(modify-phases %standard-phases
            (add-before 'check 'remove-hypothesis-deadlines
@@ -3951,7 +3952,7 @@ (define-public python-mutagen
                  (("( +)@given" all spaces)
                   (string-append spaces "@settings(deadline=None)\n" all))))))))
     (native-inputs
-     (list python-pytest python-hypothesis python-flake8))
+     (list python-pytest python-hypothesis))
     (home-page "https://mutagen.readthedocs.io/")
     (synopsis "Read and write audio tags")
     (description "Mutagen is a Python module to handle audio metadata.  It
-- 
2.41.0





This bug report was last modified 1 year and 67 days ago.

Previous Next


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