From 1a6ab6cbb7dc18a91d95286957755e8719a4b4d9 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 19:06:43 +0100 Subject: [PATCH] gnu: python-tldextract: Relax requests-file requirement. * gnu/packages/python-web.scm (python-tldextract)[arguments] <#:phases>: Add phase 'relax-requirements. Change-Id: I88bf257884323f4e8ccd82ba7d2727c86b458b37 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2bd61c8460..09d8e8744e 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3976,6 +3976,15 @@ high-speed transfers via libcurl and frequently outperforms alternatives.") (sha256 (base32 "02c6cyh8f3dagcw786m9nl5y0n3xa98p5mb7d7xfr84l2l5bglmk")))) (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "pyproject.toml" + (("\"requests-file.*\",") + "\"requests-file\","))))))) (native-inputs (list nss-certs-for-test python-pytest