<#21744 system_binary \"test binary\" caches failu...
# github-notifications
c
#21744 system_binary \"test binary\" caches failures across pantsd invocations Issue created by trhodeos Describe the bug \nWe use julia via juliaup (similar to pyenv, but for Julia). We have the following
system_binary
declaration:\n\n```\nsystem_binary(\n name=\"julia\",\n binary_name=\"julia\",\n fingerprint=r\".*1.10.*\",\n fingerprint_args=[\"-v\"],\n)\n\n```\n\nCaching this makes sense for \"static\" binaries. However,
juliaup
installs a shim
julia
script which uses the
default
juliaup julia version. Thus, the `test binary` step gets cached since the \"inputs\" (aka the shim script) havent changed.\n\n*Pants version* \n2.23.0\n\n*OS* \nMacOS (but most likely happens on both)\n\n*Additional info* \nHere's a repro case. Note that you need juliaup installed. You should toggle between
juliaup default 1.10
and
juliaup default 1.9
to see the failure modes. pantsbuild/pants