Description
pygettext
s/msgfmt
s versioning system is currently not useful.
cpython/Tools/i18n/pygettext.py
Line 155 in fac41f5
Line 37 in fac41f5
It has not been updated with changes and is of little informational value.
We have three options,
- Leave it as it is
- Remove it
- Replace/Update it to make it useful
1 = nothing changes.
2 Removing it completely would be misleading since pot files without "Generated-By: XXX"
in the header are assumed to be generated by xgettext
, so we would have to keep "Generated-By: pygettext"
.
I propose to do 3, as the version number can be useful, since files generated by different versions of the scripts can vary. For reference python-babel does this with their up-to-date version no. To do this I propose to use CPython versioning to make it easier, both for us and for users. This will avoid discussions down the line as to when should we bump the version, and it will make it easier for users to fetch the desired version, i.e. branch 3.15 for pygettext 3.15 and so on.
cc @tomasr8
Linked PRs
Metadata
Metadata
Assignees
Projects
Status