# Enforcing latest master in REQUIRE

**URL:** <https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617>\
**Category:** General Usage\
**Tags:** question\
**Created:** [March 12, 2017, 7:20am UTC](https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617 "2017-03-12T07:20:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 12, 2017, 7:20am UTC](https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617/1 "2017-03-12T07:20:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [March 12, 2017, 7:36am UTC](https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617/2 "2017-03-12T07:36:50Z")

</div>

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](https://github.com/JuliaLang/Juleps/labels/Pkg3)

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [March 12, 2017, 7:37am UTC](https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617/3 "2017-03-12T07:37:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [March 12, 2017, 9:43am UTC](https://discourse.julialang.org/t/enforcing-latest-master-in-require/2617/4 "2017-03-12T09:43:43Z")

</div>

+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.
