From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kDLbETptw2FChQEAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 19:23:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8GC/DTptw2EmTwAA1q6Kng (envelope-from ) for ; Wed, 22 Dec 2021 18:23:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 070AB26AA8 for ; Wed, 22 Dec 2021 19:23:54 +0100 (CET) Received: from localhost ([::1]:44966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n06HI-0005tH-4y for larch@yhetil.org; Wed, 22 Dec 2021 13:23:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n06Be-0006jK-D4 for guix-patches@gnu.org; Wed, 22 Dec 2021 13:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n06Be-0006gm-0D for guix-patches@gnu.org; Wed, 22 Dec 2021 13:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n06Bd-0004Fz-Nm for guix-patches@gnu.org; Wed, 22 Dec 2021 13:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52721] [PATCH]v2 gnu: python-pydata-sphinx-theme: Fix build. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Dec 2021 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52721 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 52721@debbugs.gnu.org Received: via spool by 52721-submit@debbugs.gnu.org id=B52721.164019706916336 (code B ref 52721); Wed, 22 Dec 2021 18:18:01 +0000 Received: (at 52721) by debbugs.gnu.org; 22 Dec 2021 18:17:49 +0000 Received: from localhost ([127.0.0.1]:59701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n06BN-0004FH-QE for submit@debbugs.gnu.org; Wed, 22 Dec 2021 13:17:49 -0500 Received: from mout01.posteo.de ([185.67.36.65]:36871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n06BK-0004Ex-PI for 52721@debbugs.gnu.org; Wed, 22 Dec 2021 13:17:44 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 9908A24002B for <52721@debbugs.gnu.org>; Wed, 22 Dec 2021 19:17:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1640197056; bh=JbqtZZesKMgH5+rh4GxXBahTpos04jChM60SmmmwfKU=; h=From:To:Cc:Subject:Date:From; b=p3Vs0lFpox4yd/xMvqN4rHeGmE7aCd/7jydhrxVcALttwY4SjRAKDFoI43iYo8ILp FpResp7MOxhKU36cybyjnTGzWAGKBQM0FDi86BXLO8Hi9gTi6hM08k/xcaTaJc8qgt oIkPlvpGC0pb4i0l28sMdiCfSgKwL6UVp42pCT4XASEb96VffzTqT2wnrg3v35g9nM MS5yGSAKGQp+8l9Vk++kvWyAmY/hs7AhkqP1elnEL6maqXgAxmla/2N5WkOk/1fRQ8 XEpzI/Z80/yP+iD8+tUNvt+xiBiG4DnRjku85bopcsYkiDpikvAluhUxBFMS19AJcY AfqndAur6jkGA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JK1l21ryCz9rwg; Wed, 22 Dec 2021 19:17:33 +0100 (CET) From: Aleksandr Vityazev References: Date: Wed, 22 Dec 2021 18:17:57 +0000 In-Reply-To: (Maxime Devos's message of "Wed, 22 Dec 2021 10:53:57 +0000") Message-ID: <87r1a433my.fsf_-_@posteo.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640197434; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=H8TTxdJxTf40318l1g8DjTlxkaYtCMyxNa3tKvSKbow=; b=poSXs3SfxSGdOt0zDRmQbZ0lS7t+X/9UGIiLG+Nqry3VsdwcmLaWYB2yr/OQuABrUCQiQD XDEVkPDwvsbNjtnTEc2EkD5yDRBMG3Xps88+vH8ypQPohVAmr0FtSyNTNk2lNWwuuN4UOq xnsZf/lr3HUK3lxbVDTfdzF/XSnyin3Q1BkLuunqAI9WS5qiAE/ieImByICLUYO+VanoYX 2CWLf13T1KFuJaJodfbWVmjJ5U06ivZgk0ycXZfkpxROZLKEoN/aF1dN+nwrVIFi3UwTxX iO+EUr/P3ZqslLY1pVCoGKFxAEVsxemuIEN4gb3tpe88VMxYlxtBSE4yLt8TWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640197434; a=rsa-sha256; cv=none; b=Ar2+6nsWGGVVA8kMcYdpaeCCrBzG9m+JgyIxQRXRoayiNWzZo8nTUP8dMRIVrWGyDF/7AE uS62ADuc4tfr5ueYtGBAFXi5BGmGuBRRSeoiMT/fbmFzEkIv8u/pjl+/fxeQ1m+RLibbiX wneYXAnAQsRsvzkwQK62wu4zTBnRBsi+01ePtcEqTV5KJTIpf8/ltvOHTUUvuz+CM11gbw Rg0XRYbUM9LCd+uMorZ3aFpgCc41nEdzTvcabwsBKAHye/+5t76e6GknQMJrhu2ZcK7pbD IlZ+fD3p5egc2waiQGMQcRfOqee3F/2jwQ1WHJcBpiH0bkuF7jkMSyzhHEjE1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=p3Vs0lFp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=p3Vs0lFp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 070AB26AA8 X-Spam-Score: -3.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: gh5iNt1AAeVx --=-=-= Content-Type: text/plain Hi, On 2021-12-22, 10:53 +0000, Maxime Devos wrote: >> the build fails because a package is required python-docutils < 0.17. > > Is python-docutils<0.17 truly required, or are the version requirements > in the source code overly strict? If it's the latter, you could patch > the source code to relax the requirements. > > The latter happens often, because library developers often don't know > in advance whether the library is compatible with future versions of > the dependencies. For version 0.6.3 there is a file pydata-sphinx-theme-0.6.3/docs/requirements.txt where the last line contains: docutils==0.16 # temporary pin (0.17 broken captions). Also, the master version requires "docutils!=0.17.0. So I created a patch that adds an extra phase. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-python-pydata-sphinx-theme-Fix-build.patch Content-Transfer-Encoding: quoted-printable Content-Description: pydata-sphinx-theme >From 7301a82b07e73c3bdbeef0d1375094d625336766 Mon Sep 17 00:00:00 2001 Message-Id: <7301a82b07e73c3bdbeef0d1375094d625336766.1640196453.git.avitya= zev@posteo.org> From: Aleksandr Vityazev Date: Wed, 22 Dec 2021 17:25:18 +0300 Subject: [PATCH] gnu: python-pydata-sphinx-theme: Fix build. * gnu/packages/sphinx (python-pydata-sphinx-theme): [arguments]: add phase "relax-dependency-requirements". --- gnu/packages/sphinx.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 3ac5b5e22c..c9a9a2efbb 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -18,6 +18,7 @@ ;;; Copyright =C2=A9 2021 Vinicius Monego ;;; Copyright =C2=A9 2021 Hugo Lecomte ;;; Copyright =C2=A9 2021 Maxim Cournoyer +;;; Copyright =C2=A9 2021 Aleksandr Vityazev ;;; ;;; This file is part of GNU Guix. ;;; @@ -915,6 +916,13 @@ (define-public python-pydata-sphinx-theme (base32 "055bh3hyh72pafiylvgpsjlk18wm15gg4azc5rjlsww5z475iq1j")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'relax-dependency-requirements + (lambda _ + (substitute* "setup.py" + (("docutils<0.17") "docutils"))))))) (propagated-inputs (list python-beautifulsoup4)) (native-inputs --=20 2.34.0 --=-=-= Content-Type: text/plain -- Best regards, Aleksandr Vityazev --=-=-=--