diff options
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r-- | gnu/packages/python-check.scm | 47 |
1 files changed, 19 insertions, 28 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1fe0697e63..e9f1660619 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2075,20 +2075,9 @@ it adds to the Pytest command line interface (CLI).") (build-system pyproject-build-system) (arguments (list - #:test-flags - #~(list "tests" - ;; FIXME: Failed: nomatch: '*sqr*PASSED* - "-k" (string-append - "not test_wrap_cpp_ext_module[importlib]" - " and not test_wrap_c_ext_module[importlib]" - " and not test_cython_ext_module[importlib]")) - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'build-extensions - (lambda _ - (with-directory-excursion "tests/example-project" - (invoke "python" "setup.py" "build_ext" "--inplace"))))))) - (native-inputs (list python-cython-3 python-setuptools python-wheel)) + ;; E ModuleNotFoundError: No module named 'setuptools.sandbox' + #:tests? #f)) ;XXX: tests are broken + (native-inputs (list python-cython python-setuptools python-wheel)) (propagated-inputs (list python-pytest)) (home-page "https://github.com/lgpage/pytest-cython") (synopsis "Cython extension modules testing plugin") @@ -3942,6 +3931,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 +3947,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 |