[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add pytest-7.1.
From: |
guix-commits |
Subject: |
02/08: gnu: Add pytest-7.1. |
Date: |
Sat, 22 Oct 2022 07:55:47 -0400 (EDT) |
lilyp pushed a commit to branch master
in repository guix.
commit 64b342ab321ddc513464bfcff39357306f32efc7
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Oct 19 21:22:37 2022 +0100
gnu: Add pytest-7.1.
* gnu/packages/check.scm (python-pytest-7.1): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/check.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 9768e5f8a4..3d320e9c70 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 David Elsing <david.elsing@posteo.net>
+;;; Copyright © 2022 Sharlatan Hellseher <sharlatanus@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1093,6 +1094,28 @@ and many external plugins.")
(define-public python-pytest-6 python-pytest)
+;; Astropy started using hard dependencies for Pytest 7+, which might
+;; happen for some other projects. It could be set as default in staging.
+(define-public python-pytest-7.1
+ (package
+ (inherit python-pytest)
+ (version "7.1.3")
+ (name "python-pytest")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest" version))
+ (sha256
+ (base32
+ "0f8c31v5r2kgjixvy267n0nhc4xsy65g3n9lz1i1377z5pn5ydjg"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments python-pytest)
+ ((#:phases phases #~%standard-phases)
+ #~(modify-phases #$phases
+ (add-before 'build 'pretend-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))))))
+
(define-public python-pytest-bootstrap
(package
(inherit python-pytest)
- branch master updated (efaefc1deb -> 7513cc6dd9), guix-commits, 2022/10/22
- 03/08: gnu: python-pytest-astropy: Update to 0.10.0., guix-commits, 2022/10/22
- 04/08: gnu: python-pytest-astropy-header: Update to 0.2.2., guix-commits, 2022/10/22
- 01/08: gnu: libresprite: Install a desktop icon., guix-commits, 2022/10/22
- 06/08: gnu: python-photuils: Update to 1.5.0., guix-commits, 2022/10/22
- 08/08: gnu: python-regions: Update to 0.6., guix-commits, 2022/10/22
- 05/08: gnu: python-astropy: Update to 5.1., guix-commits, 2022/10/22
- 02/08: gnu: Add pytest-7.1.,
guix-commits <=
- 07/08: gnu: python-astropy-healpix: Update to 0.7., guix-commits, 2022/10/22