diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-19 13:17:06 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:56 +0100 |
| commit | f20e543db7303fd0332eeca1954ecd2db7962b2a (patch) | |
| tree | bece754815cafd980f43a8e00e5b5c1450d4a055 /gnu/packages/python-xyz.scm | |
| parent | e15771f1fca5e94702167b45759b78b3c79925a9 (diff) | |
gnu: python-argcomplete: Fix tests.
* gnu/packages/python-xyz.scm (python-argcomplete)
[arguments] <test-backend>: Use custom.
<test-flags>: Move option here from custom 'check phase..
<phases>: Use default 'check; add disable-pip-tests..
[native-inputs]: Remove python-coverage, python-mypy, and python-wheel.
Change-Id: Ica763b449ebef64000181fe192cad691be39db73
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 682ca79df2..58954c1744 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25331,23 +25331,20 @@ JPEG2000 and GIF files in pure Python.") (build-system pyproject-build-system) (arguments (list + #:test-backend #~'custom + #:test-flags #~(list "test/test.py" "-v") #:phases - '(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; pip: command not found - (substitute* "test/test.py" - (("def test_console_script") - "def __disable_test_console_script")) - (invoke "python3" "./test/test.py" "-v"))))))) + #~(modify-phases %standard-phases + (add-before 'check 'disable-pip-tests + (lambda _ + ;; pip: command not found + (substitute* "test/test.py" + (("def test_console_script") + "def __disable_test_console_script"))))))) (native-inputs - (list python-coverage - python-hatch-vcs + (list python-hatch-vcs python-hatchling - python-mypy python-pexpect - python-wheel tcsh fish bash ;full Bash for 'test_file_completion' |
