diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-15 21:08:54 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:19:25 +0100 |
| commit | b34db23b8af9e40dec1bf2420aa414e63786d532 (patch) | |
| tree | 5a1816fa5328c7f8bfde965f469ae8baee440113 /gnu/packages | |
| parent | 9748ba26cd207c953aa305cfd982b8b9e27ea341 (diff) | |
gnu: python-pytest-randomly: Update to 4.0.1.
* gnu/packages/check.scm (python-pytest-randomly): Update to 4.0.1.
[arguments] <test-flags>: Rework skipped tests to reduce closure size.
[native-inputs]: Remove python-factory-boy, python-faker, python-numpy,
and python-pytest-xdist.
Change-Id: I1293bc007a1e4813f136758dd242b541fcb59c81
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/check.scm | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index ef0daa034b2..46f5df31fd9 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1916,31 +1916,37 @@ reported in a previous test run.") (define-public python-pytest-randomly (package (name "python-pytest-randomly") - (version "3.16.0") + (version "4.0.1") (source (origin - (method git-fetch) ;no tests in pypi archive + (method git-fetch) (uri (git-reference (url "https://github.com/pytest-dev/pytest-randomly") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 - "1ai6gn811wm1ixjimgpsi5nwlcpxaj4kmil69vf2s2ph0c2zw93s")))) + "0zglnyl3wc2ri9dhkvd1z0ywksk2v1abpdlclc253c8xivv4c3ai")))) (build-system pyproject-build-system) (arguments (list + ;; tests: 23 passed, 13 deselected #:test-flags #~(list "-p" "no:randomly" - ;; The tests validating ordering fail, as well as as two others, - ;; for unknown reasons (see: - ;; https://github.com/pytest-dev/pytest-randomly/issues/454). - "-k" "not test_it_runs_before_stepwise and not test_model_bakery"))) + ;; Skip tests requireing python-factory-boy, python-faker, + ;; python-numpy, and python-pytest-xdist to reduce closure size. + "-k" (string-join + (list "not test_entrypoint_injection" + "test_factory_boy" + "test_faker" + "test_faker_fixture" + "test_it_runs_before_stepwise" + "test_model_bakery" + "test_numpy" + "test_numpy_doesnt_crash_with_large_seed" + "test_xdist") + " and not ")))) (native-inputs - (list python-factory-boy - python-faker - python-numpy - python-pytest-bootstrap - python-pytest-xdist + (list python-pytest-bootstrap python-setuptools)) (home-page "https://github.com/pytest-dev/pytest-randomly") (synopsis "Pytest plugin to randomly order tests") |
