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
This commit is contained in:
Sharlatan Hellseher 2024-11-24 14:45:30 +00:00
parent e30c169bec
commit bdbf3ab4f0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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/")