Skip to content

[Isaac Sim 6.0] Fixes tqdm version to avoid sys error - #4236

Merged
kellyguo11 merged 1 commit into
isaac-sim:feature/isaacsim-6-0from
kellyguo11:update-tqdm
Dec 18, 2025
Merged

kellyguo11 merged 1 commit into
isaac-sim:feature/isaacsim-6-0from
kellyguo11:update-tqdm

Conversation

@kellyguo11

Copy link
Copy Markdown
Contributor

Description

Some versions of tqdm cause a strange sys error, fixing it to a known working version.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Dec 17, 2025
@greptile-apps

greptile-apps Bot commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Greptile Summary

Pins tqdm to version 4.67.1 to resolve sys errors encountered with previous versions. The fix is straightforward and appropriate for addressing a dependency-related runtime issue.

  • Added tqdm==4.67.1 to INSTALL_REQUIRES in source/isaaclab_rl/setup.py
  • Includes inline comment explaining the rationale
  • Minor cleanup opportunity: tqdm is redundantly listed in the sb3 extras requirements

Confidence Score: 4/5

  • This PR is safe to merge with minimal risk - it's a targeted dependency version pin to fix a known issue
  • The change is minimal, well-documented, and addresses a specific runtime error. The pinned version (4.67.1) is recent and stable. Score is 4 instead of 5 due to minor redundancy in extras requirements and lack of test coverage for the fix
  • No files require special attention

Important Files Changed

Filename Overview
source/isaaclab_rl/setup.py Pins tqdm==4.67.1 to fix sys errors; potential redundancy with sb3 extras

Sequence Diagram

sequenceDiagram
    participant User
    participant pip
    participant setup.py
    participant PyPI

    User->>pip: pip install isaaclab_rl
    pip->>setup.py: Read INSTALL_REQUIRES
    setup.py-->>pip: Return dependencies list
    Note over setup.py,pip: tqdm==4.67.1 now pinned
    pip->>PyPI: Request tqdm==4.67.1
    PyPI-->>pip: Download tqdm 4.67.1
    pip->>pip: Install tqdm 4.67.1
    Note over pip: Fixes sys errors from previous versions
    
    alt User installs with sb3 extra
        User->>pip: pip install isaaclab_rl[sb3]
        pip->>setup.py: Read EXTRAS_REQUIRE['sb3']
        setup.py-->>pip: stable-baselines3>=2.6, tqdm, rich
        Note over pip: tqdm already installed from INSTALL_REQUIRES
        pip->>pip: Skip tqdm (already satisfied)
    end
Loading

@greptile-apps greptile-apps Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments (1)

  1. source/isaaclab_rl/setup.py, line 44 (link)

    style: tqdm in the sb3 extras is now redundant since it's already pinned in INSTALL_REQUIRES on line 37. Remove it from this list to avoid confusion.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

@kellyguo11
kellyguo11 merged commit 9c0aefd into isaac-sim:feature/isaacsim-6-0 Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant