You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Warning: In a future version of Poetry, PyPI will be disabled automatically if at least one custom source is configured with another priority than 'explicit'. In order to avoid a breaking change and make your pyproject.toml forward compatible, add PyPI explicitly via 'poetry source add pypi'. By the way, this has the advantage that you can set the priority of PyPI as with any other source.
Loading template...
Finding news fragments...
Rendering news fragments...
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
...
...
jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got '+'
The text was updated successfully, but these errors were encountered:
mkdir700
changed the title
towncrier is not compatible with PIP 2.* versions, please limit the version range of PIP dependencies.
Constraint PIP Dependencies Version Range for Towncrier Compatibility
Nov 21, 2023
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?
towncrier/pyproject.toml
Line 35 in 57f2036
The text was updated successfully, but these errors were encountered: