Skip to content

Commit

Permalink
fix(benchmarks): force older pygit2 for older DVC versions (iterative…
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein authored Jun 3, 2024
1 parent 6cc80fd commit b69b368
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dvc/testing/benchmarks/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ def make_dvc_bin(
venv.run("pip", "install", f"git+file://{dvc_git_repo}@{dvc_rev}#egg={egg}")
if dvc_rev in ["2.18.1", "2.11.0", "2.6.3"]:
venv.run("pip", "install", "fsspec==2022.11.0")
try:
if version.Version(dvc_rev) < version.Version("3.50.3"):
venv.run("pip", "install", "pygit2==1.14.1")
except version.InvalidVersion:
pass
dvc_venvs[dvc_rev] = venv
dvc_bin = venv.which("dvc")
else:
Expand Down

0 comments on commit b69b368

Please sign in to comment.