We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As discussed in Slack, attempting to specify a non-top-level package in a GitHub repo in the sources section of Project.toml errors.
sources
MWE:
[deps] DuckDB = "d2f5444f-75bc-4fdf-ac35-56f514c445e1" [sources] DuckDB = {url = "https://github.com/duckdb/duckdb", subdir = "tools/juliapkg", rev = "main"}
Calling Pkg.resolve() on the above project fails with
Pkg.resolve()
ERROR: Invalid key `subdir` in `source` section
For reference, DuckDB is a monorepo where the julia package is in the tools/juliapkg folder.
tools/juliapkg
Version information (release candidate installed via juliaup):
julia> versioninfo() Julia Version 1.11.0-rc3 Commit 616e45539db (2024-08-26 15:46 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, skylake) Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
The text was updated successfully, but these errors were encountered:
[sources]
Project.toml
bump. I just ran into this as well.
Sorry, something went wrong.
KristofferC
Successfully merging a pull request may close this issue.
As discussed in Slack, attempting to specify a non-top-level package in a GitHub repo in the
sources
section of Project.toml errors.MWE:
Calling
Pkg.resolve()
on the above project fails withFor reference, DuckDB is a monorepo where the julia package is in the
tools/juliapkg
folder.Version information (release candidate installed via juliaup):
julia> versioninfo() Julia Version 1.11.0-rc3 Commit 616e45539db (2024-08-26 15:46 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, skylake) Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
The text was updated successfully, but these errors were encountered: