gnu: python-pytest-cython: Disable tests.

* gnu/packages/python-check.scm (python-pytest-cython)[arguments]
<tests?>: They look like broken.
<test-flags>: Drop all.
<phases>: Remove 'buld-extensions.
[native-inputs]: Remove python-cython-3; add python-cython.

Change-Id: I978ee17a13688199dcd474577afb0dde10df220c
This commit is contained in:
Sharlatan Hellseher 2025-09-21 18:19:03 +01:00
parent 7701ec84a9
commit fcac316c2d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")