Skip to content

Commit 9f31175

Browse files
pre-commit-ci[bot]skshetry
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#10797)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent be1b529 commit 9f31175

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dvc/testing/benchmarks/fixtures.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ def _dvc_bin(*args):
125125
check_call([dvc_bin, *args]) # noqa: S603
126126

127127
_dvc_bin.version = check_output([dvc_bin, "--version"], text=True) # type: ignore[attr-defined] # noqa: S603
128+
129+
if version.Version(_dvc_bin.version) < version.Version("2.42.0"):
130+
venv.install("pathspec<0.10")
131+
128132
return _dvc_bin
129133

130134

0 commit comments

Comments
 (0)