~ruther/guix-local

7ef8d800926f52270db13420ab1ac5f67e09bb82 — Sharlatan Hellseher 10 months ago d15d4cb
gnu: python-pytest-mypy: Update to 1.0.1.

* gnu/packages/check.scm (python-pytest-mypy): Update to 1.0.1.
  [arguments] <test-flags>: Respect parallel jobs count; deselect one
  failing test.
  [propagated-inputs]: Remove python-attrs.
  [native-inputs]: Remove python-pexpect and python-wheel.

Change-Id: Ief9fdc73a02bbd062a3221fe87d3bb1d0f019301
1 files changed, 11 insertions(+), 10 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +11 -10
@@ 2932,17 2932,21 @@ failures.")
(define-public python-pytest-mypy
  (package
    (name "python-pytest-mypy")
    (version "0.10.3")
    (version "1.0.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pytest-mypy" version))
       (uri (pypi-uri "pytest_mypy" version))
       (sha256
        (base32 "1nyk9xxkwb03sp6avn5l4ysncybnyw4ibrp2lcn3mw934dj8yigq"))))
        (base32 "0x60ap70ix4blavrwih9aglp3ghviv1frxccnv3cq3f8fpzwlprz"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:test-flags #~(list "--numprocesses" "auto")
      #:test-flags
      #~(list "--numprocesses" (number->string (parallel-job-count))
              "-p" "no:mypy"
              ;; Fails to compare warnings.
              "--deselect=tests/test_pytest_mypy.py::test_mypy_encoding_warnings")
      #:phases
      (if (or (target-riscv64?)
              (target-ppc64le?))


@@ 2954,14 2958,11 @@ failures.")
                    (("60\\.0") "180.0")))))
          #~%standard-phases)))
    (native-inputs
     (list python-pexpect
           python-pytest-xdist
     (list python-pytest-xdist
           python-setuptools
           python-setuptools-scm
           python-wheel))
           python-setuptools-scm))
    (propagated-inputs
     (list python-attrs
           python-filelock
     (list python-filelock
           python-mypy
           python-pytest))
    (home-page "https://github.com/dbader/pytest-mypy")