PkgBenchmark.jl icon indicating copy to clipboard operation
PkgBenchmark.jl copied to clipboard

`judge` does not work when the commits have different dependency versions

Open shashi opened this issue 3 years ago • 1 comments

I'm trying to run a benchmark against master vs PR where the PR bumps a dependency version one breaking level up. But it fails to checkout the older version on the master branch. I find it confusing that it says " └─restricted to versions 0.15.2 by an explicit requirement — no versions left" for the dependency, but then I never quite understand Pkg errors.

Here is the output: https://github.com/JuliaSymbolics/Symbolics.jl/pull/365/checks?check_run_id=3495273188#step:7:268

I also tried having using Pkg; Pkg.resolve() at the top of benchmark.jl, but get the same error.

shashi avatar Sep 02 '21 12:09 shashi

what about

judge(Symbolics, 
      BenchmarkConfig(;id="origin/HEAD", juliacmd=`julia -O3 -e'using Pkg; Pkg.update()'`);
      verbose=false)

?

palday avatar Aug 22 '23 17:08 palday