Skip to content

Adding an unregistered package to our Application Project causes has no known versions during Pkg.build resolution. #4622

@NHDaly

Description

@NHDaly

We have an Application Project mono-repo, with many separate subpackages.

Our Project.toml and Manifest.toml are attached here:
Project_and_Manifest.zip

We are running on julia 1.10.

When adding an unregistered package, we see the following error during the Pkg.build step:

(RAICode) pkg> add https://github.com/RelationalAI/logical-query-protocol:sdks/julia/LogicalQueryProtocol.jl
    Updating git-repo `https://github.com/RelationalAI/logical-query-protocol`
   Resolving package versions...
  No Changes to `~/work/raicode4/Project.toml`
    Updating `~/work/raicode4/Manifest.toml`
  [e66e0078]  CompilerSupportLibraries_jll v1.1.0+0  v1.1.1+0
  [05823500]  OpenLibm_jll v0.8.1+2  v0.8.5+0
  [8e850b90]  libblastrampoline_jll v5.8.0+1  v5.11.0+0
...  # so far so good

(RAICode) pkg> build
    Building RAI_Parser  `~/work/raicode4/packages/RAI_Parser/deps/build.log`
┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations ~/.julia/juliaup/julia-1.10.10+0.aarch64.apple.darwin14/share/julia/stdlib/v1.10/Pkg/src/Operations.jl:1829
ERROR: Unsatisfiable requirements detected for package LogicalQueryProtocol [a92373ee]:
 LogicalQueryProtocol [a92373ee] log:
 ├─LogicalQueryProtocol [a92373ee] has no known versions!
 └─restricted to versions * by RAI_LQP2BackIR [9f36bba0] — no versions left
   └─RAI_LQP2BackIR [9f36bba0] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─RAI_LQP2BackIR [9f36bba0] is fixed to version 0.1.0
# ^ but this didn't work.

This seems to happen for any unregistered dependency; the LogicalQueryProtocol.jl package is just the one we're currently trying to work through. Adding a registered dependency by URL works okay. But adding an unregistered dep does not.

One possible related issue is that we have a lot of subpackages which point to the same Manifest.toml through their manifest="" field. All of those subpackages are dev'd into the project.

Thanks!

julia> versioninfo()
Julia Version 1.10.10
Commit 95f30e51f41 (2025-06-27 09:51 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin24.0.0)
  CPU: 12 × Apple M2 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
  JULIA_SSL_CA_ROOTS_PATH =

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions