From 96acb64fec747be4840fe6da1af497962c59f332 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Dec 2021 07:09:14 +0000 Subject: [PATCH] build(deps): Bump scmrepo from 0.0.6 to 0.0.7 Bumps [scmrepo](https://github.com/iterative/scmrepo) from 0.0.6 to 0.0.7. - [Release notes](https://github.com/iterative/scmrepo/releases) - [Commits](https://github.com/iterative/scmrepo/compare/0.0.6...0.0.7) --- updated-dependencies: - dependency-name: scmrepo dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] tests: fix invalid set_ref in exp func test --- setup.cfg | 2 +- tests/func/experiments/test_experiments.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index f2de7b015..abf74e1a4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -75,7 +75,7 @@ install_requires = aiohttp-retry>=2.4.5 diskcache>=5.2.1 jaraco.windows>=5.7.0; python_version < '3.8' and sys_platform == 'win32' - scmrepo==0.0.6 + scmrepo==0.0.7 [options.extras_require] # gssapi should not be included in all_remotes, because it doesn't have wheels diff --git a/tests/func/experiments/test_experiments.py b/tests/func/experiments/test_experiments.py index a1c051df1..5019602b9 100644 --- a/tests/func/experiments/test_experiments.py +++ b/tests/func/experiments/test_experiments.py @@ -629,7 +629,8 @@ def test_fix_exp_head(tmp_dir, scm, tail): head = "HEAD" + tail assert head == fix_exp_head(scm, head) - scm.set_ref(EXEC_BASELINE, "refs/heads/master") + rev = "1" * 40 + scm.set_ref(EXEC_BASELINE, rev) assert EXEC_BASELINE + tail == fix_exp_head(scm, head) assert "foo" + tail == fix_exp_head(scm, "foo" + tail)