~ruther/guix-local

7fd0b73989e5f30b96798f5778cf265aae5bb579 — Sharlatan Hellseher 1 year, 6 months ago 809d36e
gnu: python-pytest-asyncio: Update to 0.24.0.

* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.24.0.
[source]: Swap to PyPI tarball as a fresh release contains tests.
[arguments]<tests>: Enable them.
<phases>: Remove 'pretend-version phase.

Change-Id: I67f11641fba485a94f5617292a4d75ec25af8420
1 files changed, 10 insertions(+), 17 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +10 -17
@@ 2471,27 2471,20 @@ executed.")
(define-public python-pytest-asyncio
  (package
    (name "python-pytest-asyncio")
    (version "0.21.0")
    (version "0.24.0")
    (source
     (origin
       (method git-fetch)               ;for tests
       (uri (git-reference
             (url "https://github.com/pytest-dev/pytest-asyncio")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (method url-fetch)
       (uri (pypi-uri "pytest_asyncio" version))
       (sha256
        (base32 "03wljn0gdwyfr5s1795w3h2mfvvi23bn42nwjv5568rgphqyldqq"))))
        (base32 "0xmj8rndpv9gmwpilbfpc26sdy1bx60l46craf3mzn3nwlldi0fh"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:tests? #f          ;XXX: to avoid a cycle with python-pytest-trio
           #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'pretend-version
                 (lambda _
                   (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
                           #$(package-version this-package)))))))
    (native-inputs (list python-setuptools-scm python-setuptools python-wheel))
    (propagated-inputs (list python-pytest))
    (native-inputs
     (list python-setuptools-scm
           python-setuptools
           python-wheel))
    (propagated-inputs
     (list python-pytest))
    (home-page "https://github.com/pytest-dev/pytest-asyncio")
    (synopsis "Pytest support for asyncio")
    (description "Python asyncio code is usually written in the form of