[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests.
From: |
Sharlatan Hellseher |
Subject: |
[bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests. |
Date: |
Wed, 20 Mar 2024 22:27:42 +0000 |
* gnu/packages/python-science.scm (python-distributed) [arguments]
<#:test-flags>: Add option to run tests in parallel. Disable 3 more
flaky tests.
[native-inputs]: Add python-pytest-xdist. Sort alphabetically.
Change-Id: I588c1a1dc82e3208cc1eeeefbdc58fb080775ac0
---
gnu/packages/python-science.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b6a116f16b..a01c68cbc3 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -23,6 +23,7 @@
;;; Copyright ?? 2022 Antero Mejr <antero@mailbox.org>
;;; Copyright ?? 2022 jgart <jgart@dismail.de>
;;; Copyright ?? 2023, 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright ?? 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1688,7 +1689,8 @@ (define-public python-distributed
(arguments
(list
#:test-flags
- '(list "-x" "-m"
+ '(list "-n" "auto"
+ "-x" "-m"
(string-append "not slow"
" and not flaky"
" and not gpu"
@@ -1814,7 +1816,10 @@ (define-public python-distributed
;; These tests are rather flaky
" and not test_quiet_quit_when_cluster_leaves"
" and not multiple_clients_restart"
- " and not test_steal_twice"))
+ " and not test_steal_twice"
+ " and not test_task_groups_update_start_stop"
+ " and not test_web_preload"
+ " and not test_web_preload_worker"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'versioneer
@@ -1889,10 +1894,11 @@ (define-public python-distributed
python-urllib3
python-zict))
(native-inputs
- (list python-importlib-metadata
+ (list python-flaky
+ python-importlib-metadata
python-pytest
python-pytest-timeout
- python-flaky
+ python-pytest-xdist
python-versioneer))
(home-page "https://distributed.dask.org")
(synopsis "Distributed scheduler for Dask")
--
2.41.0
- [bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests., (continued)
- [bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 08/49] gnu: python-pytest-filter-subpackage: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 17/49] gnu: python-astropy-iers-data: Update to 0.2024.3.18.0.29.47., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 09/49] gnu: python-zarr: Update to 2.17.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 13/49] gnu: python-dask: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 20/49] gnu: python-asdf-unit-schemas: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 07/49] gnu: python-pytest-arraydiff: Enable tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 18/49] gnu: python-cdflib: Update to 1.2.6., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 19/49] gnu: python-cdflib: Enable all tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 16/49] gnu: python-ginga: Update to 5.0.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests.,
Sharlatan Hellseher <=
- [bug#69924] [PATCH 21/49] gnu: python-asdf-standard: Update to 1.1.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 15/49] gnu: python-glymur: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 22/49] gnu: python-asdf-transform-schemas: Update to 0.5.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 23/49] gnu: python-asdf: Update to 3.1.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 10/49] gnu: python-partd: Enable tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 28/49] gnu: python-astroquery: Update to 0.4.7., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 26/49] gnu: python-asdf-astropy: Update to 0.6.0, Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 24/49] gnu: python-asdf-coordinates-schemas: Update to 0.3.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 25/49] gnu: python-asdf-wcs-schemas: Update to 0.4.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 27/49] gnu: python-pyvo: Update to 1.5.1., Sharlatan Hellseher, 2024/03/20