-
Notifications
You must be signed in to change notification settings - Fork 242
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
Override merge of dictionary: merge by dict keys? #1803
Comments
This was referenced Apr 9, 2024
joerick
added a commit
that referenced
this issue
Aug 24, 2024
I broke out the TableFmt object into a protocol-like object called OptionFormat, where the formatting and merge rules can be customised more deeply. This is more explicit, and lets us be a bit more precise with how TOML object get converted into the options. Undo env var fix
joerick
added a commit
that referenced
this issue
Aug 24, 2024
I broke out the TableFmt object into a protocol-like object called OptionFormat, where the formatting and merge rules can be customised more deeply. This is more explicit, and lets us be a bit more precise with how TOML object get converted into the options.
joerick
added a commit
that referenced
this issue
Aug 24, 2024
I broke out the TableFmt object into a protocol-like object called OptionFormat, where the formatting and merge rules can be customised more deeply. This is more explicit, and lets us be a bit more precise with how TOML object get converted into the options.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I think I see a problem with override merging. I've set the following in TOML:
And got:
And it seems to be running the tests when building on these platforms. In theory, I would have expected it to merge config settings by key. Instead it seems to be appending strings.
Build (and now pip) will make a list if it gets the same value several times, that's how you make lists. So this produces
{"cmake.define.RUN_CMAKE_TEST": ["ON", "OFF"]}
, which seems to count for me as true.I have a feeling that this was broken by #1730 (comment).
Build log
https://github.com/scikit-build/cmake-python-distributions/actions/runs/8609018236
CI config
No response
The text was updated successfully, but these errors were encountered: