Closed mkdir700 closed 2 weeks ago
Thanks for the report.
Can you please create a PR in which we have "jinja2>=3" ?
In theory, as long as you have a custom template, towncrier might also work with Jinja v2.
So there is also the option of fixing the default template to work with Jinja v2.
Description
The pip version on my machine is '2.11.3'. When I use
pip install towncrier
to install the program, there are no errors during the process. This is because towncrier depends on any version of pip, but this is problematic.When I use the
build
command, the following exception is thrown:Reproduction
Solution
Upgrade the version of jinja2 to
3.*
Should the version range of pip be constrained?
https://github.com/twisted/towncrier/blob/57f203651a080c2a91a3cf9b0e47eb6fca42128b/pyproject.toml#L35