JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
621 stars 261 forks source link

In a monorepo, if any vendored package has an unregistered dep, all the other vendored packages fail to resolve their env #3744

Open Drvi opened 9 months ago

Drvi commented 9 months ago

Repo with a MRE: https://github.com/Drvi/MonorepoResolverIssue, the README provides more details.

I would expect that vendored packages would not fail to resolve in this situation (since they are failing due to a dependency that resolves fine for the packages that actually need it).

My versioinfo() (installed via juliaup)

Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (arm64-apple-darwin22.4.0)
  CPU: 10 × Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
  Threads: 1 on 8 virtual cores
NHDaly commented 9 months ago

(This works for dev'd dependencies, right? so it's specific to adding an unregistered dep?)

Drvi commented 9 months ago

Right! We don't get issues with dev'd packages.