Skip to content

Commit 60980e6

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 9545c6a commit 60980e6

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
@@ -95,7 +95,6 @@ jobs:
9595
env:
9696
VERSION: ${{ github.event.inputs.version }}
9797
run: |
98-
sudo apt-get install pandoc
9998
tox -e generate-gh-release-notes -- "$VERSION" gh-release-notes.md
10099
101100
- 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)