Add support for package preferences - #90
Merged
Merged
Conversation
Package entries in juliapkg.json may now include an optional "preferences" object, which is written to the [preferences.<pkg>] table of the generated Project.toml (read natively by Julia's Pkg). Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
Member
|
I like this! There's quite a lot of new text in the readme about this (not in keeping with the rest of the docs). I suggest removing it all and instead please add a Also |
Contributor
|
@MilesCranmerBot could you please address the above? |
Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
Contributor
Author
|
Done in 6db238c:
Tests: 123 passed locally (pre-existing |
added 2 commits
August 7, 2026 11:58
Member
|
Thanks! |
Member
|
Released in v0.1.25. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #89
Package entries in
juliapkg.jsonmay now include an optional"preferences"object, which is written to the[preferences.<pkg>table of the generatedProject.toml(read natively by Julia's Pkg, as used by Preferences.jl). Preferences from multiplejuliapkg.jsonfiles are merged by key; conflicting values for the same key raise an error.{"packages": {"SymbolicRegression": {"uuid": "8254be44-1295-4e6a-a16d-46603ac705cb", "version": "1", "preferences": {"precompile_float64": false}}}}