The Pipfile did not specify a Python version, so Dependabot locked
dependencies with its own default Python. This dropped packages needed
only on older Python (e.g. typing-extensions, required by referencing on
Python < 3.13) and broke the manpages job running on Python 3.11.
Pin python_version in the Pipfile and use the same version in CI so the
lockfile matches what CI installs, and relock the dependencies.
The date in the .TH line of jq.1.prebuilt changed whenever the manual was
regenerated in a new month, causing merge conflicts between pull requests
that touch the manual, and it did not reflect the release date anyway.
Generate the committed man page without a date.
Stamp the date into jq.1 at build time instead, taking it from the current
commit, or from SOURCE_DATE_EPOCH where that is set, so that release
tarballs and distribution builds still carry one and the behaviour added
in #3514 is kept. Write it in UTC and in ISO 8601 rather than the previous
"%B %Y", for which mandoc reports "cannot parse date, using it verbatim".
The push trigger had no branch filter, so pull requests from branches
in this repository (e.g. Dependabot) ran the workflow twice, once for
push and once for pull_request.