# Package dependency to an unregistered version of a registered package

**URL:** https://discourse.julialang.org/t/package-dependency-to-an-unregistered-version-of-a-registered-package/51218
**Category:** General Usage
**Tags:** package
**Created:** [December 3, 2020, 6:54pm UTC](https://discourse.julialang.org/t/package-dependency-to-an-unregistered-version-of-a-registered-package/51218 "2020-12-03T18:54:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)
#### Post date: [December 3, 2020, 6:54pm UTC](https://discourse.julialang.org/t/package-dependency-to-an-unregistered-version-of-a-registered-package/51218/1 "2020-12-03T18:54:04Z")

</div>

I have a module (package) that has as a dependency a forked version of a registered module. How I can specify this dependency and how I can point to the forked version of the registered module on Github in the Project.toml file.

---

<div class="post-metadata">

### Author: ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)
#### Post date: [December 3, 2020, 7:00pm UTC](https://discourse.julialang.org/t/package-dependency-to-an-unregistered-version-of-a-registered-package/51218/2 "2020-12-03T19:00:11Z")

</div>

you do

```julia
] add https://github.com/<USERNAME{/<PACKAGE>.jl.git#<BRANCHNAME>

```

Or if you have your brach clone locally and in development you can do

```julia
] dev <LOCALPATH>

```

Note that this will only persist though your Manifest.toml.  
and it won’t be possible to load your package as a depenency of another package (unless you also add the branch you need to that one following the above).  
And so you won’t be able to regiter a release of your package  
(registered packages can only depend on other registered packages)

---

<div class="post-metadata">

### Author: ![monty](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/monty/32/44234_2.png) [@monty](https://discourse.julialang.org/u/monty)
#### Post date: [December 3, 2020, 7:06pm UTC](https://discourse.julialang.org/t/package-dependency-to-an-unregistered-version-of-a-registered-package/51218/3 "2020-12-03T19:06:52Z")

</div>

> [@oxinabox](#):
>
> registered packages can only depend on other registered packages

this is my issue; one of the packages I use in my registered package is registered but outdated; its version dependencies conflict with the version dependencies of other packages which were recently updated and i use; I did PR but no response

But i need to fix this conflict to register a new version.
