Skip to content

Commit

Permalink
Merge pull request #392 from commitizen-tools/fix/391-jinja-support
Browse files Browse the repository at this point in the history
fix: add support for jinja2 v3
  • Loading branch information
woile authored Jun 22, 2021
2 parents 7573d16 + 00f81d3 commit f2272bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ colorama = "^0.4.1"
termcolor = "^1.1"
packaging = ">=19,<21"
tomlkit = ">=0.5.3,<1.0.0"
jinja2 = "^2.10.3"
jinja2 = ">=2.10.3"
pyyaml = ">=3.08"
argcomplete = "^1.12.1"

Expand All @@ -71,6 +71,7 @@ freezegun = "^0.3.15"
pydocstyle = "^5.0.2"
pre-commit = "^2.6.0"
pytest-regressions = "^2.2.0"
pytest-freezegun = "^0.4.2"

[tool.poetry.scripts]
cz = "commitizen.cli:main"
Expand Down
1 change: 1 addition & 0 deletions tests/commands/test_changelog_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ def test_changelog_incremental_keep_a_changelog_sample_with_annotated_tag(

@pytest.mark.parametrize("test_input", ["rc", "alpha", "beta"])
@pytest.mark.usefixtures("tmp_commitizen_project")
@pytest.mark.freeze_time("2021-06-11")
def test_changelog_incremental_with_release_candidate_version(
mocker, capsys, changelog_path, file_regression, test_input
):
Expand Down

0 comments on commit f2272bd

Please sign in to comment.