From 7c7bc37b6e5dbd95958273ef22a44ce6209fdce9 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Thu, 25 Sep 2025 21:53:59 +0200 Subject: [PATCH] gnu: python-devtools: Disable failing tests. * gnu/packages/python-xyz.scm (python-devtools): Disable failing tests. [arguments] : Disable failing tests. Change-Id: I1c6533a4a912d5dc4bde3610ccce7d38837caac4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6f12a3c929aece085b86459c7e72e92cc3193327..e8e373652f93529e2bdc7932dcdb61f403ba7c56 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -34264,7 +34264,19 @@ and have a maximum lifetime built-in.") (list #:test-flags ;; Disable some failing tests. - '(list "-k" "not test_print_subprocess" + ;; + ;; test_print_subprocess seems to inherit wrong environment, fails with + ;; E + ModuleNotFoundError: No module named 'executing' + ;; Test runs fine from local clone. + ;; + ;; test_executing_failure fails with + ;; E - [1, 2] (list) len=2 + ;; E + [x, y]: [1, 2] (list) len=2 + ;; unclear why, probably due to a dependency. + '(list "-k" "not test_print_subprocess and not test_executing_failure" + ;; test_insert_assert.py also seems to inherit a bad environment: + ;; E fixture 'pytester_pretty' not found + ;; Test runs fine from local clone. "--ignore=tests/test_insert_assert.py"))) (native-inputs (list python-hatchling python-pytest python-pytest-mock))