mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-17 15:50:31 +02:00
gnu: python-pytest-random-order: Update to 1.1.1.
* gnu/packages/check.scm (python-pytest-random-order): Update to 1.1.1. [build-system]: Swap to pyproject-build-system. [arguments]<test-flags>: Disable some failing tests. [native-inputs]: Add python-pytest-xdist, python-setuptools, python-py, and python-wheel. Change-Id: Iab4d940379f7995669f5ead9980bb8779c3266e4
This commit is contained in:
@@ -1868,20 +1868,26 @@ decorators from external files.")
|
||||
(define-public python-pytest-random-order
|
||||
(package
|
||||
(name "python-pytest-random-order")
|
||||
(version "1.0.4")
|
||||
(version "1.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "pytest-random-order" version))
|
||||
(sha256
|
||||
(base32 "0lpzl218l04vjy4gckrbrcacc3w9xrjnvz64bf2i132c58s5j8bb"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "104hww3b86jchk41kjhyycr541pd2dfgqkww6lx5y70z9z9xfwj4"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "pytest" "--random-order")))))))
|
||||
(list
|
||||
#:test-flags
|
||||
;; AttributeError: module 'py' has no attribute 'code'.
|
||||
#~(list "-k" (string-append "not test_it_works_with_actual_tests"
|
||||
" and not test_failed_first"
|
||||
" and not test_doctests"))))
|
||||
(native-inputs
|
||||
(list python-pytest-xdist
|
||||
python-setuptools
|
||||
python-py
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-pytest))
|
||||
(home-page "https://github.com/jbasko/pytest-random-order")
|
||||
|
||||
Reference in New Issue
Block a user