mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-pytest-randomly: Update to 3.16.0.
* gnu/packages/check.scm (python-pytest-randomly): Update to 3.16.0. [build-system]: Use pyproject. [arguments] <test-flags>: Utilize it. <phases>: Use default 'check. [propagated-inputs]: Remove python-importlib-metadata and python-pytest. [native-inputs]: Remove python-coverage; add python-pytest-bootstrap and python-setuptools. Change-Id: I9b66590bdc37f5b8bf857a8aeb640755f994d4f8
This commit is contained in:
parent
db736c3483
commit
3c2a1aafb7
1 changed files with 16 additions and 22 deletions
|
@ -1990,7 +1990,7 @@ reported in a previous test run.")
|
||||||
(define-public python-pytest-randomly
|
(define-public python-pytest-randomly
|
||||||
(package
|
(package
|
||||||
(name "python-pytest-randomly")
|
(name "python-pytest-randomly")
|
||||||
(version "3.11.0")
|
(version "3.16.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch) ;no tests in pypi archive
|
(method git-fetch) ;no tests in pypi archive
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
|
@ -1999,29 +1999,23 @@ reported in a previous test run.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1sjgq49g8f8973vhmzrim79b6wz29a765n99azjk1maimqh7mmik"))))
|
"1ai6gn811wm1ixjimgpsi5nwlcpxaj4kmil69vf2s2ph0c2zw93s"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:test-flags
|
||||||
#~(modify-phases %standard-phases
|
#~(list "-p" "no:randomly"
|
||||||
(replace 'check
|
;; The tests validating ordering fail, as well as as two others,
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
;; for unknown reasons (see:
|
||||||
(when tests?
|
;; https://github.com/pytest-dev/pytest-randomly/issues/454).
|
||||||
;; The tests validating ordering fail, as well as as two
|
"-k" "not test_it_runs_before_stepwise and not test_model_bakery")))
|
||||||
;; others, for unknown reasons (see:
|
(native-inputs
|
||||||
;; https://github.com/pytest-dev/pytest-randomly/issues/454).
|
(list python-factory-boy
|
||||||
(invoke "pytest" "-vv" "-k"
|
python-faker
|
||||||
(string-append
|
python-numpy
|
||||||
"not reordered "
|
python-pytest-bootstrap
|
||||||
"and not test_it_runs_before_stepwise "
|
python-pytest-xdist
|
||||||
"and not test_entrypoint_injection"))))))))
|
python-setuptools))
|
||||||
(native-inputs (list python-coverage
|
|
||||||
python-factory-boy
|
|
||||||
python-faker
|
|
||||||
python-numpy
|
|
||||||
python-pytest-xdist))
|
|
||||||
(propagated-inputs (list python-importlib-metadata python-pytest))
|
|
||||||
(home-page "https://github.com/pytest-dev/pytest-randomly")
|
(home-page "https://github.com/pytest-dev/pytest-randomly")
|
||||||
(synopsis "Pytest plugin to randomly order tests")
|
(synopsis "Pytest plugin to randomly order tests")
|
||||||
(description "This is a Pytest plugin to randomly order tests and control
|
(description "This is a Pytest plugin to randomly order tests and control
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue