[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/20: gnu: python-pytest-sanic: Relax requirement on websockets.
From: |
guix-commits |
Subject: |
19/20: gnu: python-pytest-sanic: Relax requirement on websockets. |
Date: |
Thu, 11 Jan 2024 08:41:20 -0500 (EST) |
rekado pushed a commit to branch wip-easyeffects-62771
in repository guix.
commit e780b794ca7a94e0a2f84b9d54227e00a33045a7
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jan 11 11:08:35 2024 +0100
gnu: python-pytest-sanic: Relax requirement on websockets.
* gnu/packages/python-check.scm (python-pytest-sanic)[arguments]: Use plain
list; add 'relax-requirements phase.
[description]: Use complete sentence.
Change-Id: I3c21380b4aa208da8a92270b6748b620a4a2dcc0
---
gnu/packages/python-check.scm | 29 +++++++++++++++++++----------
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f02ca10298..37cabf4cff 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2019, 2021-2024 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer
<maxim.cournoyer@gmail.com>
@@ -2140,20 +2140,29 @@ help in debugging failures and optimizing the scheduler
to improve speed.")
(method url-fetch)
(uri (pypi-uri "pytest-sanic" version))
(sha256
- (base32
- "0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr"))))
+ (base32
+ "0shq1bqnydj0l3ipb73j1qh5kqcjvzkps30zk8grq3dwmh3wmnkr"))))
+ ;; We don't use pyproject-build-system because that would require
+ ;; poetry.masonry.
(build-system python-build-system)
(arguments
;; Tests depend on python-sanic.
- `(#:tests? #f))
+ (list
+ #:tests? #f
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("websockets.*<11.0")
+ "websockets<12.0")))))))
(propagated-inputs
- (list python-httpx python-async-generator python-pytest
- python-websockets))
- (home-page
- "https://github.com/yunstanford/pytest-sanic")
+ (list python-httpx python-async-generator python-pytest
+ python-websockets))
+ (home-page "https://github.com/yunstanford/pytest-sanic")
(synopsis "Pytest plugin for Sanic")
- (description "A pytest plugin for Sanic. It helps you to test your
-code asynchronously.")
+ (description "This package provides a pytest plugin for Sanic. It helps
+you to test your code asynchronously.")
(license license:expat)))
(define-public python-allpairspy
- 06/20: gnu: sord: Update to 0.16.16., (continued)
- 06/20: gnu: sord: Update to 0.16.16., guix-commits, 2024/01/11
- 07/20: gnu: sratom: Update to 0.6.14., guix-commits, 2024/01/11
- 03/20: gnu: serd: Enable tests., guix-commits, 2024/01/11
- 02/20: gnu: lv2: Update to 1.18.10., guix-commits, 2024/01/11
- 10/20: gnu: mda-lv2: Update to 1.2.10., guix-commits, 2024/01/11
- 11/20: gnu: lilv: Update to 0.24.20., guix-commits, 2024/01/11
- 12/20: gnu: lilv: Enable tests., guix-commits, 2024/01/11
- 13/20: gnu: lilv: Update to 0.24.22., guix-commits, 2024/01/11
- 16/20: gnu: rubberband: Propagate required libraries., guix-commits, 2024/01/11
- 18/20: gnu: python-sanic-testing: Update to 23.12.0., guix-commits, 2024/01/11
- 19/20: gnu: python-pytest-sanic: Relax requirement on websockets.,
guix-commits <=
- 20/20: gnu: python-sanic: Update to 23.12.1., guix-commits, 2024/01/11
- 08/20: gnu: sratom: Enable tests., guix-commits, 2024/01/11
- 05/20: gnu: sord: Enable tests., guix-commits, 2024/01/11
- 09/20: gnu: sratom: Update to 0.6.16., guix-commits, 2024/01/11
- 14/20: gnu: rubberband: Update to 3.3.0., guix-commits, 2024/01/11
- 15/20: gnu: Add easyeffects., guix-commits, 2024/01/11
- 17/20: gnu: python-sanic-routing: Update to 23.12.0., guix-commits, 2024/01/11