Open
Conversation
- removing flatdict dependency from install requirements - creating a new method that does the dict flattening to avoid having to keep that dep on
Contributor
Greptile OverviewGreptile SummaryThis PR removes the Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Caller
participant SC as SimulationContext
participant TOML as toml.load
participant FLAT as to_flat_dict
participant Carb as carb.settings
Caller->>SC: _apply_render_settings_from_cfg()
SC->>TOML: load(rendering_modes/<mode>.kit)
TOML-->>SC: nested dict
SC->>FLAT: to_flat_dict(preset_dict, delimiter=".")
FLAT-->>SC: flat key/value pairs
loop each preset entry
SC->>Carb: set_setting("/"+key.replace(".", "/"), value)
end
SC-->>Caller: render settings applied
|
This was referenced Feb 10, 2026
Mayankm96
reviewed
Feb 11, 2026
11f9b94 to
fd6a7f5
Compare
Contributor
|
Thanks a lot for this change! I retargeted the PR to the develop branch instead since that's where we've moved our recent development to. Could you do an update to the latest develop? Please also update the version in the extension.toml file under isaaclab to match with the new version in the CHANGELOG. |
Signed-off-by: Kelly Guo <kellyg@nvidia.com>
kellyguo11
reviewed
Feb 18, 2026
Signed-off-by: Kelly Guo <kellyg@nvidia.com>
Contributor
|
hmm looks like there's a failing test in test_dict.py |
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.
Description
This change removes the flatdict dependency entirely. flatdict is a very old dependency that has recently broken compatibility with modern install practices, and was used in exactly one circumstance: to build settings from a nested dictionary.
This change removes the flatdict dependency and implements the dictionary flattening manually instead.
Fixes # (issue)
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there