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

Previous Next

Package: guix-patches;

Reported by: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>

Date: Mon, 6 Mar 2023 20:24:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62013 in the body.
You can then email your comments to 62013 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#62013; Package guix-patches. (Mon, 06 Mar 2023 20:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Mar 2023 20:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
To: guix-patches <at> gnu.org
Cc: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Subject: [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5
Date: Mon,  6 Mar 2023 21:23:13 +0100
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





Information forwarded to guix-patches <at> gnu.org:
bug#62013; Package guix-patches. (Tue, 21 Mar 2023 18:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 62013 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Hugo Buddelmeijer <hugo <at> buddelmeijer.nl>
Cc: 62013 <at> debbugs.gnu.org
Subject: Re: bug#62013: [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5
Date: Tue, 21 Mar 2023 19:12:07 +0100
Hi,

Hugo Buddelmeijer <hugo <at> buddelmeijer.nl> skribis:

> 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.

Applied, thanks!

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

Ludo’.




bug closed, send any further explanations to 62013 <at> debbugs.gnu.org and Hugo Buddelmeijer <hugo <at> buddelmeijer.nl> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 21 Mar 2023 18:13:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Apr 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 8 days ago.

Previous Next


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