From 580d1f52e580c87b80c4ebd45808b3ff88558199 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 25 Aug 2025 20:25:51 +0200 Subject: [PATCH] gnu: python-pytest-services: Switch to pyproject. * gnu/packages/python-check.scm (python-pytest-services): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Update comment. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: Ib5932dc71639c9f264f15702a3b318a2f39c74f1 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-check.scm | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 7d6878fa3e817e5e3fad73b55788745e576506a4..c40255c612cc5e011f4acdb971b390d1ad089fb2 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2967,18 +2967,20 @@ you to test your code asynchronously.") (name "python-pytest-services") (version "1.3.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "pytest-services" version)) - (sha256 - (base32 - "0b2zfv04w6m3gp2v44ifdhx22vcji069qnn95ry3zcyxib7cjnq3")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ; Tests not included in release tarball. - (propagated-inputs - (list python-psutil python-requests)) - (native-inputs - (list python-pytest)) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pytest-dev/pytest-services") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "123s2vd3h5knfs6lz7b83z0wl2miqsbya3w71cm8xk6hgyb10nmv")))) + (build-system pyproject-build-system) + (arguments + ;; XXX: Tests require running memcached, mysql and X servers. + (list #:tests? #f)) + (propagated-inputs (list python-psutil python-requests)) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/pytest-dev/pytest-services") (synopsis "Services plugin for pytest testing framework") (description