diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-05 18:39:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-08 16:56:30 +0300 |
commit | 431ac3eb29ee4503dbe590d0228f745e5ea7bfe7 (patch) | |
tree | e7f4f5c0e6e3b8a131b94333967e6b4072b31353 /check | |
parent | 4b02fa7cf33d0394d46cdf659da74848a22a09c7 (diff) | |
download | subplot-431ac3eb29ee4503dbe590d0228f745e5ea7bfe7.tar.gz |
fix(check): drop check for which version of Pandoc we have
Sponsored-by: author
Diffstat (limited to 'check')
-rwxr-xr-x | check | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -94,11 +94,6 @@ class Runcmd: p = self.runcmd_unchecked(["which", name], stdout=DEVNULL) return p.returncode == 0 - def pandoc_is_newer(self): - """Is pandoc new enough for --citeproc""" - p = self.runcmd(["pandoc", "--help"], stdout=PIPE) - return "--citeproc" in p.stdout.decode("UTF-8") - def cargo(self, args, **kwargs): """Run cargo with arguments.""" return self.runcmd(["cargo"] + args, **kwargs) @@ -341,20 +336,12 @@ def check_tooling(r): "bash", "cargo", "dot", - "pandoc", - "pandoc-citeproc", "plantuml", "rustc", "rustfmt", ] for command in commands: if not r.got_command(command): - if command == "pandoc-citeproc": - if r.pandoc_is_newer(): - r.msg( - " Fortunately pandoc is new enough for --citeproc, no need for pandoc-citeproc" - ) - continue sys.exit(f"can't find {command}, which is needed for test suite") if not r.got_command("daemonize") and not r.got_command("/usr/sbin/daemonize"): |