From bdbf3ab4f0b91b28bf6f6e609cc3d15c05cec3cc Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 24 Nov 2024 14:45:30 +0000 Subject: [PATCH] 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]: 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 9064f462888..2137cc42536 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/")