-
Notifications
You must be signed in to change notification settings - Fork 15
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
Preferences and transitive dependencies #24
Comments
From JuliaLang/julia#37791 (comment)
So it did indeed get listed in |
vchuravy
added a commit
to JuliaLang/julia
that referenced
this issue
Dec 7, 2021
When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24
vchuravy
added a commit
to JuliaLang/julia
that referenced
this issue
Dec 7, 2021
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]>
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Dec 9, 2021
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]> (cherry picked from commit 8197c41)
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Dec 11, 2021
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]> (cherry picked from commit 8197c41)
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Jan 10, 2022
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]> (cherry picked from commit 8197c41)
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Feb 22, 2022
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]>
LilithHafner
pushed a commit
to LilithHafner/julia
that referenced
this issue
Mar 8, 2022
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]>
staticfloat
pushed a commit
to JuliaLang/julia
that referenced
this issue
Dec 23, 2022
* Look for package name in `[extras]` When Preferences.jl set's a preferences in a non-top-level package, it adds that package to the `[extras]` entries in the project path. Package loading should have used thhose entries to map the module uuid to the key name in the Preferences.toml Fixes JuliaPackaging/Preferences.jl#24 Co-authored-by: Elliot Saba <[email protected]> (cherry picked from commit 8197c41)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to me that
LocalPreferences.toml
don't have any effect if the package I am setting the dependency in isn't listed as a direct dependency.I prepared a small example: prefs.tar.gz
A
is the package using Preferences.jl to manage a "backend"B
is usingA
C
is usingB
Both have the same
LocalPreferences.toml
After adding
A
toC
as a dependency things seem to work. But this is problematic for several use-cases of Preferences. I found this the first time when I wanted to change the path of a library in ajll
package.cc: @staticfloat @simonbyrne
The text was updated successfully, but these errors were encountered: