~ruther/guix-local

fcac316c2dd7360397f68bb0ee7eb664c638a535 — Sharlatan Hellseher 7 months ago 7701ec8
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
1 files changed, 3 insertions(+), 14 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +3 -14
@@ 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")