I am getting the same error in my case Xnumber is a dependency of SHbundle and both of them are unregistered.
ERROR: Unsatisfiable requirements detected for package Xnumber [fdc6275c]:
Xnumber [fdc6275c] log:
├─Xnumber [fdc6275c] has no known versions!
└─restricted to versions * by SHbundle [685399a2] — no versions left
└─SHbundle [685399a2] log:
├─possible versions are: 0.1.0 or uninstalled
└─SHbundle [685399a2] is fixed to version 0.1.0
Also I have added Xnumber to SHbundle but when i run the following command in gitlab-ci i get the above error.
- |
julia --project=docs -e '
using Pkg
Pkg.Registry.update()
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
using Documenter: doctest
using SHbundle
doctest(SHbundle)
include("docs/make.jl")'
I don’t know how much the below answer is relevant to my case as could not understand the solution.
My understanding is that you are trying to execute the above command in the SHbundle folder.
The problem is that Pkg.instantiate() is not going to work since it does not know how to find Xnumber.
Before instantiating you should Pkg.develop(url="https://gitlab.com/vyush/Xnumber.jl") first.
Try this:
using Pkg
Pkg.Registry.update()
Pkg.develop(url="https://gitlab.com/vyush/Xnumber.jl")
Pkg.develop(PackageSpec(path=pwd())) # I'm assuming we are in the SHbundle directory
Pkg.instantiate()
using Documenter: doctest
using SHbundle
doctest(SHbundle)
include("docs/make.jl")
I do not see the path to Xnumber there. Also it is my rough understanding that Manifest.toml is mainly used by Pkg.instantiate(), but I may be wrong on this.