From 0e53b4a1d280664f83507b1f86cc7d5c2daccda8 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Thu, 10 Aug 2023 19:04:59 +0900 Subject: [PATCH] deps: bump scmrepo minver to 1.2.1 --- pyproject.toml | 2 +- tests/unit/scm/test_scm.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1558f994de..cdb3d6bcf3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ dependencies = [ "requests>=2.22", "rich>=12", "ruamel.yaml>=0.17.11", - "scmrepo>=1.0.4,<2", + "scmrepo>=1.2.1,<2", "shortuuid>=0.5", "shtab<2,>=1.3.4", "tabulate>=0.8.7", diff --git a/tests/unit/scm/test_scm.py b/tests/unit/scm/test_scm.py index 99a5886c3e..08d6b4f524 100644 --- a/tests/unit/scm/test_scm.py +++ b/tests/unit/scm/test_scm.py @@ -76,6 +76,12 @@ def _resolve_commit(rev): commit_time_offset=0, message="dummy", parents=["dummy"], + committer_name="dummy", + committer_email="dummy", + author_name="dummy", + author_email="dummy", + author_time=datetime(2022, 6, 28).timestamp(), + author_time_offset=0, ) if rev == rev_old: raise SCMError @@ -85,6 +91,12 @@ def _resolve_commit(rev): commit_time_offset=0, message="dummy", parents=["dummy"], + committer_name="dummy", + committer_email="dummy", + author_name="dummy", + author_email="dummy", + author_time=datetime(2022, 6, 28).timestamp(), + author_time_offset=0, ) mocker.patch(