From 608d01cf1636f4c9afa3ecb61b02e3be592d9277 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Mon, 15 Dec 2025 13:28:15 +0000 Subject: [PATCH] gnu: python-venusian: Update to 3.1.1. * gnu/packages/python-web.scm (python-venusian): Update to 3.1.1. [build-system]: Switch to pyproject-build-system. [arguments] : Add 'fix-pytest-config. [native-inputs]: Remove python-pytest-runner and python-pytest-cov; add python-setuptools. Remove lables. Change-Id: Iebabc49ab7e5d0bfabcd68d9d2ba62bcb69f48e6 --- gnu/packages/python-web.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 11a51b70e07fd56ed3c515585ffedb566c14daf5..d5be9e0ab9bea8b20b1f3c4e25c403d6e562ed05 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -10108,19 +10108,25 @@ language-neutral coding interface compatible with all major web browsers."))) (define-public python-venusian (package (name "python-venusian") - (version "3.0.0") + (version "3.1.1") (source (origin (method url-fetch) (uri (pypi-uri "venusian" version)) (sha256 - (base32 "0f7f67dkgxxcjfhpdd5frb9pszkf04lyzzpn5069q0xi89r2p17n")))) - (build-system python-build-system) + (base32 "0h8cdwx5x6i1ydc9s0hxwvy73l6iwlqijn2l77mq74k6anrv6ksk")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pytest-config + (lambda _ + (substitute* "setup.cfg" + (("--cov --cov-report=term-missing ") ""))))))) (native-inputs - `(("python-pytest" ,python-pytest) - ("python-runner" ,python-pytest-runner) - ("python-pytest-cov" ,python-pytest-cov))) - (arguments '(#:test-target "pytest")) + (list python-pytest + python-setuptools)) (home-page "https://docs.pylonsproject.org/projects/venusian") (synopsis "Library for deferring decorator actions") (description