mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
e30c169bec
commit
bdbf3ab4f0
1 changed files with 3 additions and 6 deletions
|
@ -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/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue