From: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
To: 62013@debbugs.gnu.org
Cc: Hugo Buddelmeijer <hugo@buddelmeijer.nl>
Subject: [bug#62013] [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5
Date: Mon, 6 Mar 2023 21:23:13 +0100 [thread overview]
Message-ID: <c5646d8ef7546fe7b279b43826073c659117eccb.1678134188.git.hugo@buddelmeijer.nl> (raw)
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
next reply other threads:[~2023-03-06 21:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-06 20:23 Hugo Buddelmeijer [this message]
2023-03-21 18:12 ` [bug#62013] [PATCH] gnu: python-pypandoc: Upgrade to 1.7.5 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c5646d8ef7546fe7b279b43826073c659117eccb.1678134188.git.hugo@buddelmeijer.nl \
--to=hugo@buddelmeijer.nl \
--cc=62013@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).