Skip to content

Update various project dependencies#495

Merged
eric-heiden merged 1 commit into
newton-physics:mainfrom
shi-eric:ershi/update-deps
Aug 1, 2025
Merged

Update various project dependencies#495
eric-heiden merged 1 commit into
newton-physics:mainfrom
shi-eric:ershi/update-deps

Conversation

@shi-eric

@shi-eric shi-eric commented Jul 31, 2025

Copy link
Copy Markdown
Member

Description

Mass-update of dependencies, remove Artifactory index, adding missing coacd optional dep (noticed by @apradhana).

Newton Migration Guide

Please ensure the migration guide for warp.sim users is up-to-date with the changes made in this MR.

  • The migration guide in docs/migration.rst is up-to date

Before your PR is "Ready for review"

  • All commits are signed-off to indicate that your contribution adheres to the Developer Certificate of Origin requirements
  • Necessary tests have been added and new examples are tested (see newton/tests/test_examples.py)
  • Documentation is up-to-date
  • Code passes formatting and linting checks with pre-commit run -a

Summary by CodeRabbit

  • Chores
    • Updated package versions and commit hashes in benchmarking configuration.
    • Switched default Python package index to the official PyPI URL.
    • Added "coacd" as a development dependency.
    • Cleaned up and reorganized package index entries for improved clarity.

@coderabbitai

coderabbitai Bot commented Jul 31, 2025

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This update revises dependency versions and commit hashes in the ASV benchmarking configuration and reorganizes the package index and development dependencies in the project’s configuration. No changes are made to source code or exported entities; all modifications are limited to configuration files.

Changes

Cohort / File(s) Change Summary
ASV Benchmark Dependency Versions
asv.conf.json
Updated warp-lang and mujoco package versions and mujoco_warp commit hash in install commands.
Project Configuration and Index Management
pyproject.toml
Added coacd>=1.0.7 to dev dependencies; changed and reordered PyPI index URLs; cleaned up and moved index sections.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • Update ASV dependencies #416: Updates dependency versions and commit hashes in the ASV benchmarking configuration, similar to this PR.
  • Add more ASV benchmarks #361: Also modifies asv.conf.json to pin package versions and commit hashes for deterministic benchmarking, directly relating to dependency management for ASV benchmarks.

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b3c79af81a2caea68c412460bd1b4f2d24be2577 and a1af376.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • asv.conf.json (1 hunks)
  • pyproject.toml (4 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • pyproject.toml
  • asv.conf.json
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: Run GPU Benchmarks (Pull Request)
  • GitHub Check: Run GPU Unit Tests on AWS EC2 (Pull Request)
  • GitHub Check: run-newton-tests / newton-unittests (ubuntu-latest)
  • GitHub Check: run-newton-tests / newton-unittests (windows-latest)
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

🧹 Nitpick comments (1)
pyproject.toml (1)

45-45: Pin or range-bound the new coacd dev dependency.

coacd is added without an upper bound. While that is acceptable for a loose dev stack, un-pinned “≥” specs have broken CI in the past when upstream releases a breaking change. Consider ~=1.0.7 or an upper cap to keep the dev environment reproducible.

📜 Review details

Configuration used: .coderabbit.yml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 036222c and b3c79af81a2caea68c412460bd1b4f2d24be2577.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • asv.conf.json (1 hunks)
  • pyproject.toml (4 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: the nvidia pypi index at https://pypi.nvidia.com/ does not follow the standard pypi simple index for...
Learnt from: shi-eric
PR: newton-physics/newton#416
File: asv.conf.json:19-19
Timestamp: 2025-07-15T15:48:18.421Z
Learning: The NVIDIA PyPI index at https://pypi.nvidia.com/ does not follow the standard PyPI simple index format. While packages can be installed via pip using the --index-url flag, the simple index listings (like /simple/package-name/) return XML errors. Packages are accessible via direct URLs but verification should be done using direct URL checks rather than simple index listings or pip index commands.

Applied to files:

  • pyproject.toml
📚 Learning: the nvidia pypi index at https://pypi.nvidia.com/ may not always show packages in the simple index l...
Learnt from: shi-eric
PR: newton-physics/newton#416
File: asv.conf.json:19-19
Timestamp: 2025-07-15T15:48:18.421Z
Learning: The NVIDIA PyPI index at https://pypi.nvidia.com/ may not always show packages in the simple index listing format that can be easily grepped, but packages can still be available via direct URLs. When verifying NVIDIA PyPI packages, it's better to check the direct URL or use pip index commands rather than relying solely on simple index listings.

Applied to files:

  • pyproject.toml
⏰ Context from checks skipped due to timeout of 900000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Run GPU Benchmarks (Pull Request)
  • GitHub Check: Run GPU Unit Tests on AWS EC2 (Pull Request)
  • GitHub Check: run-newton-tests / newton-unittests (windows-latest)
🔇 Additional comments (2)
pyproject.toml (2)

88-91: Add /simple suffix to the PyTorch CUDA index for consistency.

https://download.pytorch.org/whl/cu128 works, but unlike the canonical PyPI index it is not a “simple” endpoint. Some resolvers append /simple/ automatically and will 404. Prefer the documented simple endpoint (…/cu128/simple) or verify that uv never appends the extra segment.


124-128: Confirm the Mujoco index is a proper PEP 503 simple repository.

https://py.mujoco.org looks like a plain files index rather than a PEP 503 simple repo. If uv/pip ever tries https://py.mujoco.org/simple/, installation will fail.

Run a quick check or switch to -f https://py.mujoco.org (find-links) consistently across both pyproject.toml and asv.conf.json.

Comment thread asv.conf.json Outdated
Comment thread pyproject.toml Outdated
Signed-off-by: Eric Shi <ershi@nvidia.com>
@shi-eric shi-eric force-pushed the ershi/update-deps branch from b3c79af to a1af376 Compare July 31, 2025 21:59
@shi-eric shi-eric marked this pull request as ready for review July 31, 2025 22:44
@eric-heiden eric-heiden merged commit 7c59666 into newton-physics:main Aug 1, 2025
12 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Aug 11, 2025
4 tasks
@shi-eric shi-eric deleted the ershi/update-deps branch August 14, 2025 19:13
@coderabbitai coderabbitai Bot mentioned this pull request Dec 8, 2025
3 tasks
eric-heiden pushed a commit to eric-heiden/newton that referenced this pull request Jan 28, 2026
Signed-off-by: Eric Shi <ershi@nvidia.com>
mmacklin pushed a commit to mmacklin/newton that referenced this pull request Apr 7, 2026
Signed-off-by: Eric Shi <ershi@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants