Skip to content

Commit 1abff44

Browse files
committed
tox: use pypandoc_binary instead of pypandoc
This installs pandoc from a binary wheel instead of requiring it in the system (apt install in CI). While system pandoc may be more trustworthy, we already trust pypandoc so might as well trust the binary wheels (which from the same project) to make it easier to run.
1 parent 2f7c6d5 commit 1abff44

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ jobs:
6161
env:
6262
VERSION: ${{ github.event.inputs.version }}
6363
run: |
64-
sudo apt-get install pandoc
6564
tox -e generate-gh-release-notes -- "$VERSION" gh-release-notes.md
6665
6766
- name: Upload release notes

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,5 @@ commands = python scripts/prepare-release-pr.py {posargs}
212212
description = generate release notes that can be published as GitHub Release
213213
usedevelop = True
214214
deps =
215-
pypandoc
215+
pypandoc_binary
216216
commands = python scripts/generate-gh-release-notes.py {posargs}

0 commit comments

Comments
 (0)