[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: gnu: python-pytest-vcr: Fix integration with pytest-5.
From: |
guix-commits |
Subject: |
01/11: gnu: python-pytest-vcr: Fix integration with pytest-5. |
Date: |
Mon, 20 Jul 2020 09:27:05 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit d6fedf6bf73c5875b6f3d75f1a3349e7ccef43c5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jul 20 15:34:23 2020 +0300
gnu: python-pytest-vcr: Fix integration with pytest-5.
* gnu/packages/python-check.scm (python-pytest-vcr): Update to
1.0.2-1.4d6c7b3.
---
gnu/packages/python-check.scm | 61 +++++++++++++++++++++++--------------------
1 file changed, 32 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 200bce6..09eb253 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -126,35 +126,38 @@ interactions, which will update them to correspond to the
new API.")
(license license:expat)))
(define-public python-pytest-vcr
- (package
- (name "python-pytest-vcr")
- (version "1.0.2")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ktosiek/pytest-vcr")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1i6fin91mklvbi8jzfiswvwf1m91f43smpj36a17xrzk4gisfs6i"))))
- (build-system python-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "tests/"))))))
- (propagated-inputs
- `(("python-pytest" ,python-pytest)
- ("python-vcrpy" ,python-vcrpy)))
- (home-page "https://github.com/ktosiek/pytest-vcr")
- (synopsis "Plugin for managing VCR.py cassettes")
- (description
- "Plugin for managing VCR.py cassettes.")
- (license license:expat)))
+ ;; This commit fixes integration with pytest-5
+ (let ((commit "4d6c7b3e379a6a7cba0b8f9d20b704dc976e9f05")
+ (revision "1"))
+ (package
+ (name "python-pytest-vcr")
+ (version (git-version "1.0.2" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ktosiek/pytest-vcr")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yk988zi0la6zpcm3fff0mxf942di2jiymrfqas19nyngj5ygaqs"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "tests/"))))))
+ (propagated-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-vcrpy" ,python-vcrpy)))
+ (home-page "https://github.com/ktosiek/pytest-vcr")
+ (synopsis "Plugin for managing VCR.py cassettes")
+ (description
+ "Plugin for managing VCR.py cassettes.")
+ (license license:expat))))
(define-public python-pytest-checkdocs
(package
- branch master updated (cd005bf -> 381ea2b), guix-commits, 2020/07/20
- 02/11: gnu: rust-lock-api-0.3: Update to 0.3.4., guix-commits, 2020/07/20
- 01/11: gnu: python-pytest-vcr: Fix integration with pytest-5.,
guix-commits <=
- 04/11: gnu: rust-odds-0.3: Do not skip build., guix-commits, 2020/07/20
- 05/11: gnu: Add rust-odds-0.2., guix-commits, 2020/07/20
- 07/11: gnu: rust-fixedbitset-0.1: Do not skip build., guix-commits, 2020/07/20
- 09/11: gnu: Add rust-petgraph-0.5., guix-commits, 2020/07/20
- 03/11: gnu: Add rust-itertools-0.5., guix-commits, 2020/07/20
- 06/11: gnu: rust-petgraph-0.4: Do not skip build., guix-commits, 2020/07/20
- 08/11: gnu: Add rust-fixedbitset-0.2., guix-commits, 2020/07/20
- 10/11: gnu: rust-parking-lot-core-0.7: Update to 0.7.2., guix-commits, 2020/07/20
- 11/11: gnu: rust-parking-lot-0.10: Upgrade to 0.10.2., guix-commits, 2020/07/20