summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-21 11:12:59 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:43 +0100
commit2c49c8c6859f6799e470deb95f99013bc1a7b413 (patch)
tree836453a6d6b9f5ec1b2ea1676eec6a47a411a281
parent5f27e04c14282f78cc3a6bec8862b86d45efc0fc (diff)
gnu: python-tox: Skip one more test.
* gnu/packages/python-check.scm (python-tox): Use G-expression and simplify skipped tests. [arguments] <test-flags>: Simplify and skip one more test. Change-Id: Icbb85340ffa66c9ce393010f1b3558bc8ab5103f
-rw-r--r--gnu/packages/python-check.scm30
1 files changed, 16 insertions, 14 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 1fe0697e63..5762c3faf6 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3942,6 +3942,8 @@ when writing automated tests in Python.")
(license license:expat)))
(define-public python-tox
+ ;; NOTE: Try to avoid including it in inputs, it's for the local development
+ ;; only.
(package
(name "python-tox")
(version "4.23.2")
@@ -3956,20 +3958,20 @@ when writing automated tests in Python.")
(arguments
(list
#:test-flags
- '(list "-k"
- (string-join
- (map (lambda (test)
- (string-append "not test_" test))
- '( ;; These freeze the test suite
- "parallel"
- "parallel_live"
- ;; Needs internet access
- "build_wheel_external"
- "run_installpkg_targz"
- "python_generate_hash_seed"
- ;; XXX Tries to call python-wrapper-3.10.7/bin/tox
- "call_as_exe"))
- " and "))))
+ #~(list "-k" (string-join
+ ;; These freeze the test suite
+ (list "not test_parallel"
+ "test_parallel_live"
+ ;; Needs internet access
+ "test_build_wheel_external"
+ "test_run_installpkg_targz"
+ "test_python_generate_hash_seed"
+ ;; XXX Tries to call python-wrapper-3.10.7/bin/tox
+ "test_call_as_exe"
+ ;; assert 'covdefaults>=1.2; python_version == "2.7"
+ ;; or python_version == "3.11"' == 'sphinx>=3'
+ "test_load_dependency_many_extra")
+ " and not "))))
(propagated-inputs
(list python-cachetools
python-chardet