Skip to content

Commit f2272bd

Browse files
authored
Merge pull request #392 from commitizen-tools/fix/391-jinja-support
fix: add support for jinja2 v3
2 parents 7573d16 + 00f81d3 commit f2272bd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ colorama = "^0.4.1"
5151
termcolor = "^1.1"
5252
packaging = ">=19,<21"
5353
tomlkit = ">=0.5.3,<1.0.0"
54-
jinja2 = "^2.10.3"
54+
jinja2 = ">=2.10.3"
5555
pyyaml = ">=3.08"
5656
argcomplete = "^1.12.1"
5757

@@ -71,6 +71,7 @@ freezegun = "^0.3.15"
7171
pydocstyle = "^5.0.2"
7272
pre-commit = "^2.6.0"
7373
pytest-regressions = "^2.2.0"
74+
pytest-freezegun = "^0.4.2"
7475

7576
[tool.poetry.scripts]
7677
cz = "commitizen.cli:main"

tests/commands/test_changelog_command.py

+1
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ def test_changelog_incremental_keep_a_changelog_sample_with_annotated_tag(
484484

485485
@pytest.mark.parametrize("test_input", ["rc", "alpha", "beta"])
486486
@pytest.mark.usefixtures("tmp_commitizen_project")
487+
@pytest.mark.freeze_time("2021-06-11")
487488
def test_changelog_incremental_with_release_candidate_version(
488489
mocker, capsys, changelog_path, file_regression, test_input
489490
):

0 commit comments

Comments
 (0)