Skip to content

ci: Remove thirdparty aiohttp file from ray#1469

Merged
thomasdhc merged 2 commits intomainfrom
donghyukc/scrub_ray_aiohttp
Feb 9, 2026
Merged

ci: Remove thirdparty aiohttp file from ray#1469
thomasdhc merged 2 commits intomainfrom
donghyukc/scrub_ray_aiohttp

Conversation

@thomasdhc
Copy link
Copy Markdown
Contributor

Description

Usage

# Add snippet demonstrating usage

Checklist

  • I am familiar with the Contributing Guide.
  • New or Existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
@thomasdhc thomasdhc added the r1.1.0 Pick this label for auto cherry-picking into r1.1.0 label Feb 6, 2026
Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment thread docker/Dockerfile
# Install Curator
RUN uv sync --link-mode copy --locked --extra all --all-groups --no-cache
RUN uv sync --link-mode copy --locked --extra all --all-groups --no-cache && \
find /opt/venv -type d -path "*ray/_private/runtime_env/agent/thirdparty_files/aiohttp*" -exec rm -rf {} +
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.

The find command could be more robust. The current pattern matches any aiohttp* directory anywhere in the path, which could unintentionally delete legitimate dependencies if the directory structure changes. Consider making the deletion more explicit and fail-safe:

Suggested change
find /opt/venv -type d -path "*ray/_private/runtime_env/agent/thirdparty_files/aiohttp*" -exec rm -rf {} +
ray_aiohttp_dir="/opt/venv/lib/python*/site-packages/ray/_private/runtime_env/agent/thirdparty_files/aiohttp" && \
[ -d "$ray_aiohttp_dir"* ] && rm -rf "$ray_aiohttp_dir"* || true

This approach:

  • Uses a more precise path pattern
  • Checks directory exists before deletion
  • Prevents build failure if path doesn't exist
  • Makes the intent clearer

@thomasdhc thomasdhc merged commit 90ce791 into main Feb 9, 2026
83 of 85 checks passed
thomasdhc added a commit that referenced this pull request Feb 9, 2026
Signed-off-by: Dong Hyuk Chang <donghyukc@nvidia.com>
Signed-off-by: NeMo Bot <nemo-bot@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

r1.1.0 Pick this label for auto cherry-picking into r1.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants