GNU bug report logs - #62013
[PATCH] gnu: python-pypandoc: Upgrade to 1.7.5

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Hugo Buddelmeijer <hugo@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 62013 <at> debbugs.gnu.org and Hugo Buddelmeijer <hugo@HIDDEN> Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 62013 <at> debbugs.gnu.org:


Received: (at 62013) by debbugs.gnu.org; 21 Mar 2023 18:12:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 21 14:12:20 2023
Received: from localhost ([127.0.0.1]:60532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pegT5-0001te-W7
	for submit <at> debbugs.gnu.org; Tue, 21 Mar 2023 14:12:20 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pegT2-0001tJ-Qt
 for 62013 <at> debbugs.gnu.org; Tue, 21 Mar 2023 14:12:18 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pegSw-00054i-Gk; Tue, 21 Mar 2023 14:12:10 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=4oze5UWNEwM5iIMoMLL0rB4CaWZ/wMC+zw0W3sWk/rU=; b=nEl+hfvsVyRI99HF0e45
 HuxFd6ZnDKXwLi5wGm8SkUDBn820eU2tYGl8/Nfjo1PyaxCRyvSC/f5zhSrQ3XlT5KhsKUqoV2Qxj
 4TJr9lk/Yy4uZKQhahoYpbdI78LczN7LcLWvUdx2FEtK1UYHbS50Xdz7LUmYSKi3w1LpQObF6Hah5
 Q51OwrnGv3sDcWjz7alOHEE1aafv5/V7+D5/1MdcrP+4VJJMwN/q3xpXvLspPSI9yQq+zGxO8z5zD
 iLrZ/b9aQHzDdYQo7UgNEyikeICCthyRjd1Ppm+bOTH537j5HLR/Ack2slxKNGNfaa6ZOLf2fmhz3
 3+DpuN0zixp7vw==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pegSw-0005mN-4C; Tue, 21 Mar 2023 14:12:10 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Hugo Buddelmeijer <hugo@HIDDEN>
Subject: Re: bug#62013: [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5
References: <c5646d8ef7546fe7b279b43826073c659117eccb.1678134188.git.hugo@HIDDEN>
Date: Tue, 21 Mar 2023 19:12:07 +0100
In-Reply-To: <c5646d8ef7546fe7b279b43826073c659117eccb.1678134188.git.hugo@HIDDEN>
 (Hugo Buddelmeijer's message of "Mon, 6 Mar 2023 21:23:13 +0100")
Message-ID: <87a606dle0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62013
Cc: 62013 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Hugo Buddelmeijer <hugo@HIDDEN> skribis:

> The tests of python-pypandoc 1.6.5 fail; these are fixed in 1.7.5:
> https://github.com/JessicaTegner/pypandoc/commit/6670e906dccaddcfcdec228e=
34e0eaffc20ae791
>
> The tests of later versions of python-pypandoc also fail though:
> https://github.com/JessicaTegner/pypandoc/pull/327
>
> Finally, python-pypandoc requires the pandoc data to be embeded in
> the binary:
> https://github.com/jgm/pandoc/blob/main/INSTALL.md#creating-a-relocatable=
-binary
>
> * gnu/packages/python-xyz.scm (python-pypandoc): Upgrade to 1.7.5
> * gnu/packages/haskel-xyz.scm (pandoc): Embed data files.

Applied, thanks!

It triggers ~830 package rebuilds, but it=E2=80=99s all been built on
qa.guix.gnu.org already and most of these are small packages anyway,
which is why I pushed it to =E2=80=98master=E2=80=99.

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#62013; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Mar 2023 20:23:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 06 15:23:27 2023
Received: from localhost ([127.0.0.1]:43822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZHMl-0002xp-HE
	for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 15:23:27 -0500
Received: from lists.gnu.org ([209.51.188.17]:45920)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <hugo@HIDDEN>) id 1pZHMk-0002xi-6O
 for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 15:23:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <hugo@HIDDEN>)
 id 1pZHMk-0005QO-0W
 for guix-patches@HIDDEN; Mon, 06 Mar 2023 15:23:26 -0500
Received: from mail-server.nl ([2a01:1b0:7999:402::47])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <hugo@HIDDEN>)
 id 1pZHMh-0005C0-Nw
 for guix-patches@HIDDEN; Mon, 06 Mar 2023 15:23:25 -0500
Received: from alex.localdomain (unknown [45.80.169.36])
 by mail-server.nl (Postfix) with ESMTPSA id D7BF21AD;
 Mon,  6 Mar 2023 21:23:17 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=buddelmeijer.nl;
 s=sslmailserver; t=1678134197;
 bh=+rd08VIPEiNcVEezsH4sM86dXbOOTwnL3KakKG6mk3Q=;
 h=From:To:Cc:Subject:Date:From;
 b=Q6IQceSHnn+makXYCXzxgB0qgrGAYV2HLyg7PFjS+HnbavdS9kr8wTRGARJf5aBLn
 bWSjeT3si6CWmk2CqoTbtCfzb0h1E4FxdAC4x+UshddK+QjsI1gTF3qlcO0WUuKOjH
 3eOHpT/ZJHGMd/WKi4K6RQ31FXsq2K3Zqydz44FU=
From: Hugo Buddelmeijer <hugo@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5
Date: Mon,  6 Mar 2023 21:23:13 +0100
Message-Id: <c5646d8ef7546fe7b279b43826073c659117eccb.1678134188.git.hugo@HIDDEN>
X-Mailer: git-send-email 2.39.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=2a01:1b0:7999:402::47;
 envelope-from=hugo@HIDDEN; helo=mail-server.nl
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001,
 SPF_NONE=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
Cc: Hugo Buddelmeijer <hugo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

The tests of python-pypandoc 1.6.5 fail; these are fixed in 1.7.5:
https://github.com/JessicaTegner/pypandoc/commit/6670e906dccaddcfcdec228e34e0eaffc20ae791

The tests of later versions of python-pypandoc also fail though:
https://github.com/JessicaTegner/pypandoc/pull/327

Finally, python-pypandoc requires the pandoc data to be embeded in
the binary:
https://github.com/jgm/pandoc/blob/main/INSTALL.md#creating-a-relocatable-binary

* gnu/packages/python-xyz.scm (python-pypandoc): Upgrade to 1.7.5
* gnu/packages/haskel-xyz.scm (pandoc): Embed data files.
---
 gnu/packages/haskell-xyz.scm | 3 +++
 gnu/packages/python-xyz.scm  | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 86af842980..d0a367afda 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8315,6 +8315,9 @@ (define-public pandoc
     (name "pandoc")
     (arguments
      (list
+       ; Create entirely self-contained binary by embedding the data files
+       ; in the binary itself. Required for python-pypandoc.
+       #:configure-flags #~(list "-fembed_data_files")
        #:phases
        #~(modify-phases %standard-phases
            (add-after 'register 'remove-libraries
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 83f3ec02ea..1eebff147d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27752,17 +27752,17 @@ (define-public python-safety
 (define-public python-pypandoc
   (package
     (name "python-pypandoc")
-    (version "1.6.4")
+    (version "1.7.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pypandoc" version))
        (sha256
         (base32
-         "149basv4pvzg9zm74cjz68x8s2n5fykyj7prgysb0qfmja73r83f"))))
+         "0l6a8ngzpx363q2jskxxkx6psfhqrvc4js80dmn16r3vw6m2cb40"))))
     (build-system python-build-system)
     (inputs
-     (list pandoc))
+     (list pandoc python-pandocfilters))
     (propagated-inputs
      `(("wheel" ,python-wheel)))
     (native-inputs

base-commit: fd4545a47a527fff437abb9991156cfee4137d2b
-- 
2.39.1





Acknowledgement sent to Hugo Buddelmeijer <hugo@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#62013; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 21 Mar 2023 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.