Skip to content

Commit 4d27289

Browse files
committed
ci-validate: use gettext-tools for msgfmt
1 parent 50ca19d commit 4d27289

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,11 @@ jobs:
423423
echo "conda-forge gramps already matches the branch series; no git-install needed"
424424
else
425425
echo "::warning::conda gramps $have != branch series $want; installing gramps from maintenance/$suffix"
426-
mamba install -y -c conda-forge gettext # provides msgfmt for the build hook
426+
# gettext-tools (not the plain "gettext" runtime) is the conda-forge
427+
# package that ships the msgfmt executable the build hook shells out
428+
# to (build_trans + build_intl).
429+
mamba install -y -c conda-forge gettext-tools
430+
command -v msgfmt >/dev/null || { echo "::error::msgfmt not on PATH after installing gettext-tools"; exit 1; }
427431
# </dev/null: build_hook.py prompts via input() if a .po fails to
428432
# compile; closed stdin turns that into a fast EOFError abort rather
429433
# than a CI hang.

0 commit comments

Comments
 (0)