[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/96: gnu: python-pytest-asyncio: Update to 0.21.0.
From: |
guix-commits |
Subject: |
33/96: gnu: python-pytest-asyncio: Update to 0.21.0. |
Date: |
Wed, 19 Apr 2023 21:41:09 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit e27acc6fc710014505766566d1676d10030d8fee
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 17 09:42:51 2023 -0400
gnu: python-pytest-asyncio: Update to 0.21.0.
* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.21.0.
[build-system]: Use pyproject-build-system.
[arguments]: Set #:tests? to #f. Remove check phase override.
[native-inputs]: Remove now unused python-async-generator, python-flaky,
python-hypothesis and python-pytest.
[propagated-inputs]: Add python-pytest.
---
gnu/packages/check.scm | 22 ++++++++--------------
1 file changed, 8 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 33bc808687..ac8de96b1c 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2031,7 +2031,7 @@ executed.")
(define-public python-pytest-asyncio
(package
(name "python-pytest-asyncio")
- (version "0.17.2")
+ (version "0.21.0")
(source
(origin
(method git-fetch) ;for tests
@@ -2040,24 +2040,18 @@ executed.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0sl0ckc23m40q6r2xcidsizrgqbbsfa7rwmr80fss359xsydf073"))))
- (build-system python-build-system)
+ (base32 "03wljn0gdwyfr5s1795w3h2mfvvi23bn42nwjv5568rgphqyldqq"))))
+ (build-system pyproject-build-system)
(arguments
- (list #:phases
+ (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))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (invoke "pytest" "-vv" "tests"))))))
- (native-inputs
- (list python-async-generator
- python-flaky
- python-hypothesis
- python-pytest
- python-setuptools-scm))
+ #$(package-version this-package)))))))
+ (native-inputs (list python-setuptools-scm))
+ (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
- 15/96: gnu: python-setuptools-scm: Update to 7.1.0., (continued)
- 15/96: gnu: python-setuptools-scm: Update to 7.1.0., guix-commits, 2023/04/19
- 03/96: gnu: python-pathspec: Update to 0.11.1., guix-commits, 2023/04/19
- 07/96: gnu: python-setuptools: Update to 67.6.1., guix-commits, 2023/04/19
- 20/96: gnu: python-execnet: Update to 1.9.0-1.d6aa1a5., guix-commits, 2023/04/19
- 08/96: gnu: python-wheel: Update to 0.40.0., guix-commits, 2023/04/19
- 12/96: gnu: python-typing-extensions: Use pyproject-build-system., guix-commits, 2023/04/19
- 18/96: gnu: python-hatchling: Update to 1.14.0., guix-commits, 2023/04/19
- 21/96: gnu: python-pytest-benchmark: Update to 4.0.0., guix-commits, 2023/04/19
- 27/96: gnu: poetry: Update to 1.1.12., guix-commits, 2023/04/19
- 30/96: gnu: Add python-asynctest., guix-commits, 2023/04/19
- 33/96: gnu: python-pytest-asyncio: Update to 0.21.0.,
guix-commits <=
- 36/96: gnu: python-aiohttp: Update to 3.8.4., guix-commits, 2023/04/19
- 52/96: gnu: usbutils: Use G-Expressions., guix-commits, 2023/04/19
- 16/96: gnu: python-flit-scm: Update to 1.7.0., guix-commits, 2023/04/19
- 01/96: gnu: python-xyz: Move some packages to (gnu packages python-build)., guix-commits, 2023/04/19
- 05/96: gnu: python-tomli-w: Use pyproject-build-system., guix-commits, 2023/04/19
- 02/96: gnu: Add python-trove-classifiers., guix-commits, 2023/04/19
- 14/96: gnu: python-typing-extensions: Move to (gnu packages python-build)., guix-commits, 2023/04/19
- 17/96: gnu: python-hatchling: Move to (gnu packages python-build)., guix-commits, 2023/04/19
- 19/96: gnu: Add python-hatch-vcs., guix-commits, 2023/04/19
- 22/96: gnu: opendht: Fix build., guix-commits, 2023/04/19