guix-commits
[Top][All Lists]
Advanced

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

153/361: gnu: python-apiron: Move to pyproject-build-system.


From: guix-commits
Subject: 153/361: gnu: python-apiron: Move to pyproject-build-system.
Date: Fri, 22 Nov 2024 06:00:31 -0500 (EST)

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

commit 9d6ba3a61180b51b11e475622df2fc52010ac51c
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:14 2024 +0200

    gnu: python-apiron: Move to pyproject-build-system.
    
    * gnu/packages/python-web.scm (python-apiron):
      [build-system]: Move to pyproject-build-system.
      [arguments]<#:phases>: Replace field with <#:test-flags>.
    
    Change-Id: I04bb9739b6356fd50fc07ae54838764d51ed22d6
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/python-web.scm | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e303f57390..876f0e6c06 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3627,16 +3627,9 @@ WebSocket usage in Python programs.")
        (uri (pypi-uri "apiron" version))
        (sha256
         (base32 "1qwbqn47sf0aqznj1snbv37v8ijx476qqkjf5l9pac7xjkxsr8qk"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "--cov" "-k"
-                     ;; This test tries to connect to the internet.
-                     "not test_call"))))))
+     (list #:test-flags '(list "-k" "not test_call")))
     (propagated-inputs
      (list python-requests))
     (native-inputs



reply via email to

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