While building using towncrier with PYTHONWARNDEFAULTENCODING=1, I see this warning:
/Users/jaraco/code/jaraco/jaraco.functools/.tox/finalize/lib/python3.11/site-packages/towncrier/build.py:169: EncodingWarning: 'encoding' argument not specified
resources.files(config.template[0]).joinpath(config.template[1]).read_text()
One needs to explicitly pass encoding='utf-8' to .read_text() to avoid these warnings. See PEP 597 for details.