-
-
Notifications
You must be signed in to change notification settings - Fork 277
How to add JLLs as test-only dependencies? #4236
New issue
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
Comments
Whoever owns the
|
Seems like BB should be adding these as dependencies? (again, hopefully build-only) cc. @giordano |
It's already a dep: https://github.com/JuliaPackaging/BinaryBuilder.jl/blob/aa0df0e2bcb983185bb989adce7e97698b705fb5/src/AutoBuild.jl#L1845. Why it should be also in |
Ok, then this appears to be a Pkg bug where this is assuming all stdlibs are available, which they aren't in and I don't think even adding Line 827 in 12c3eaf
|
Just to be sure, which build of There recently was an issue where we removed a platform augmentation from pocl_jll, yet the |
|
TOML is missing from the deps list, yeah https://github.com/JuliaBinaryWrappers/pocl_jll.jl/tree/7f58a189c9588cfa64ff9a239f7a771be350b6cd |
Thanks for investigating, everyone!
@vchuravy, with |
Issue seems resolved starting |
Uh oh!
There was an error while loading. Please reload this page.
Consider a
Project.toml
likeand a
test/runtests.jl
likeNote that for the example above it doesn't really matter what the
MWE
package does. Trying to run the tests leads to the failurethat is caused by some
.pkg/select_artifacts.jl
. I could not find who or why that file was being executed, but it seems to stem from here:https://github.com/JuliaPackaging/BinaryBuilder.jl/blob/aa0df0e2bcb983185bb989adce7e97698b705fb5/src/AutoBuild.jl#L1540
Duplicating the
[extras]
under[weakdeps]
did not help.How do I fix this (properly)? Who should declare TOML as a dependency?
This is a re-post of JuliaPackaging/BinaryBuilder.jl#1384 after that one had been closed. I could not find a duplicate issue here, and I verified that the behavior is the same for Julia 1.11.5.
The text was updated successfully, but these errors were encountered: