Repository navigation
Remove flatdict dependency - #6547
Conversation
Drop the unused flatdict package from local test metadata, CI bootstrap commands, and the documentation mock list.
Greptile SummaryThis PR removes the unused
Confidence Score: 5/5Safe to merge — this is a pure metadata removal with no changes to source code or runtime behavior. All four changes are mechanical removals of a single package name from declaration sites (pyproject.toml, two CI bootstrap pip install lines, and the Sphinx mock list). A repository-wide search confirms no remaining live import of flatdict outside a historical changelog entry, so nothing breaks at install time, test time, or doc-build time. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A["CI: run-tests / multi-gpu-shard"] --> B["pip install pytest pytest-mock junitparser flaky coverage>=7.6.1"]
B --> C["Run test suite"]
C --> D["Pass / Fail"]
E["pyproject.toml\n[test] extra"] --> F["pytest, pytest-mock,\njunitparser, flaky, coverage"]
F --> G["pip install .[test]"]
G --> C
H["docs/conf.py\nautodoc_mock_imports"] --> I["Sphinx autodoc\n(no flatdict mock needed)"]
style B fill:#d4edda,stroke:#28a745
style F fill:#d4edda,stroke:#28a745
style I fill:#d4edda,stroke:#28a745
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
A["CI: run-tests / multi-gpu-shard"] --> B["pip install pytest pytest-mock junitparser flaky coverage>=7.6.1"]
B --> C["Run test suite"]
C --> D["Pass / Fail"]
E["pyproject.toml\n[test] extra"] --> F["pytest, pytest-mock,\njunitparser, flaky, coverage"]
F --> G["pip install .[test]"]
G --> C
H["docs/conf.py\nautodoc_mock_imports"] --> I["Sphinx autodoc\n(no flatdict mock needed)"]
style B fill:#d4edda,stroke:#28a745
style F fill:#d4edda,stroke:#28a745
style I fill:#d4edda,stroke:#28a745
Reviews (1): Last reviewed commit: "Remove flatdict test dependency" | Re-trigger Greptile |
# Description Remove the unused `flatdict` dependency from the root test extra and the two CI bootstrap commands that install test tooling. Also remove `flatdict` from the Sphinx mocked-import list. The repository no longer imports or otherwise uses `flatdict`, so retaining it adds unnecessary installation and dependency-resolution work. Dependencies required by this change: none. This change removes `flatdict`. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Screenshots Not applicable. ## Validation - `./isaaclab.sh -p -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py` (6 passed) - `bash -n .github/actions/multi-gpu/multi_gpu_shard_runner.sh` - Parsed `pyproject.toml` and asserted the test extra contains no `flatdict` requirement - Searched the repository for remaining live `flatdict` references; only the historical changelog entry remains - `./isaaclab.sh -f` (passed before commit and again before push) ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works (no new test was needed for this metadata-only removal; existing metadata tests pass) - [x] I have added a changelog fragment for every touched package (not applicable; no package under `source/` was changed) - [x] My name already exists in `CONTRIBUTORS.md`
Description
Remove the unused
flatdictdependency from the root test extra and the two CI bootstrap commands that install test tooling. Also removeflatdictfrom the Sphinx mocked-import list.The repository no longer imports or otherwise uses
flatdict, so retaining it adds unnecessary installation and dependency-resolution work.Dependencies required by this change: none. This change removes
flatdict.Type of change
Screenshots
Not applicable.
Validation
./isaaclab.sh -p -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py(6 passed)bash -n .github/actions/multi-gpu/multi_gpu_shard_runner.shpyproject.tomland asserted the test extra contains noflatdictrequirementflatdictreferences; only the historical changelog entry remains./isaaclab.sh -f(passed before commit and again before push)Checklist
./isaaclab.sh --formatsource/was changed)CONTRIBUTORS.md