From 245f2185b7b3658d8b6aaf9a8be1bfd8feb2539d Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 28 Oct 2025 10:30:11 +0000 Subject: [PATCH] gnu: python-textdistance: Run test in a single thread. * gnu/packages/python-xyz.scm (python-textdistance)[arguments] : Tests are not threads save, remove "--numprocesses" option. [native-inputs]: Remove python-pytest-xdist and python-wheel. Change-Id: I50202ff684ef4af83d3adaf3bc880ef8af9e663a --- gnu/packages/python-xyz.scm | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d5d5e6f2dc8eaffff1703e106fa595efaf9c4e12..ae954a61574616402f1aaeb672b5ec8fba0a0b39 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -37117,25 +37117,19 @@ memory usage and transliteration quality.") (version "4.6.3") (source (origin - ;; There are no tests in the PyPI tarball. (method git-fetch) (uri (git-reference - (url "https://github.com/life4/textdistance") - (commit version))) + (url "https://github.com/life4/textdistance") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1qaplikab46p38jqr93bxd26vvxcnvib15fjxmmp4cbsiy5196sg")))) (build-system pyproject-build-system) - (arguments - (list - #:test-flags - #~(list "--numprocesses" (number->string (min 4 (parallel-job-count)))))) + ;; tests: 430 passed, 1446 warnings (native-inputs (list python-numpy python-pytest - python-pytest-xdist - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs (list python-jellyfish python-distance