guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: python-pycurl: Adjust inputs.


From: guix-commits
Subject: 03/03: gnu: python-pycurl: Adjust inputs.
Date: Sun, 24 Nov 2024 09:51:02 -0500 (EST)

sharlatan pushed a commit to branch master
in repository guix.

commit bdbf3ab4f0b91b28bf6f6e609cc3d15c05cec3cc
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 14:45:30 2024 +0000

    gnu: python-pycurl: Adjust inputs.
    
    * gnu/packages/python-web.scm (python-pycurl): Remove requirement for
    pytest-xdist as tests need to be run in single threaded. No need for
    Nose as main test runner is Pytest now.
    [arguments]<test-flags>: Remove "--numprocesses" option.
    [native-inputs]: Remove python-nose and python-pytest-xdist.
    
    Change-Id: I8de5d89a38208c119ea5494de1e8339130b01f54
---
 gnu/packages/python-web.scm | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9064f46288..2137cc4253 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2032,11 +2032,10 @@ Amazon S3 compatible object storage server.")
     (build-system pyproject-build-system)
     (arguments
      '(#:test-flags
-       ;; The test suite is not thread safe, therefore --numprocesses 1:
+       ;; The test suite is not thread safe:
        ;; - some tests want to use the same port: address already in use
        ;; - some tests use signal.Signal, i.e. main-thread only
-       (list "--numprocesses" "1" ; (number->string (parallel-job-count))
-             "-k" (string-append
+       (list "-k" (string-append
                    ;; Disable hanginging tests
                    "not test_multi_socket_select"
                    ;; E assert None is not None
@@ -2068,9 +2067,7 @@ Amazon S3 compatible object storage server.")
     (native-inputs
      (list python-bottle
            python-flaky
-           python-nose
-           python-pytest
-           python-pytest-xdist))
+           python-pytest))
     (inputs
      (list curl gnutls))
     (home-page "http://pycurl.io/";)



reply via email to

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