Opened 3 weeks ago

Closed 4 days ago

#37396 closed Cleanup/optimization (fixed)

msgfmt is not on GITHUB_PATH in Windows CI build in Github Actions

Reported by: Lily Owned by: helmidev03
Component: Internationalization Version: dev
Severity: Normal Keywords:
Cc: helmidev03 Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This causes several tests to be skipped with this message:

skipped 'msgfmt is mandatory for compilation tests'

This was noticed when updating Django Rusty Templates to install gettext using Chocolatey: ​https://github.com/LilyFirefly/django-rusty-templates/pull/533#discussion_r4176824979

Change History (7)

comment:1 by Lily, 3 weeks ago

Owner: set to Lily
Status: new → assigned

comment:2 by Lily, 3 weeks ago

Has patch: set

comment:3 by Sarah Boyce, 3 weeks ago

Patch needs improvement: set
Triage Stage: Unreviewed → Accepted

Thank you for the report

comment:4 by Lily, 2 weeks ago

Owner: Lily removed
Status: assigned → new

Removing myself so someone else can try picking this up and making progress.

comment:5 by helmidev03, 2 weeks ago

Cc: helmidev03 added
Owner: set to helmidev03
Patch needs improvement: unset
Status: new → assigned

comment:6 by Lily, 12 days ago

Triage Stage: Accepted → Ready for checkin

comment:7 by Jacob Walls <jacobtylerwalls@…>, 4 days ago

Resolution: → fixed
Status: assigned → closed

In 0b4aaa7:

Fixed #37396 -- Added gettext to PATH in Windows CI.

Chocolatey's gettext bin directory wasn't on PATH for later steps, so
tests requiring msgfmt and xgettext were skipped on Windows.

Skipped PoFileTests.test_no_write_access on Windows, where chmod()
cannot make a directory read-only.

Note: See TracTickets for help on using tickets.
Back to Top