Enforcing latest master in REQUIRE

I am wondering if there is a way to request the latest master for a package in REQUIRE.

Specifically, I made a PR to a package which has been merged to master, and need it for tests to run, so I put a Pkg.checkout in .travis.yml, but it seems like a hack.

Currently there is no way to do that. This will be possible with the next version of the package manager: https://github.com/JuliaLang/Juleps/labels/Pkg3

1 Like

The correct solution currently is to request that a new version of the package be tagged and released.

+1 on such a feature. When packages heavily depend on one another (eg. CUDAnative + CUDAdrv & LLVM) it would often be convenient to be able to REQUIRE eq. CUDAdrv ${GITHASH}+, mainly for CI purposes.

1 Like