Skip to content

Conversation

@gitttt-1234
Copy link
Collaborator

Summary

  • Added comprehensive "Updating Dependencies" sections to docs/installation.md for all five installation methods
  • Each section includes platform-specific upgrade commands (CUDA 11.8, CUDA 12.8, CPU, macOS) where applicable
  • Provides clear instructions for updating dependencies like sleap-io to their latest versions

Changes by Installation Method

1. uv tool install (System-wide tool)

  • Added uv tool upgrade sleap-nn command
  • Added uv tool upgrade --all for upgrading all tools
  • Included note about version constraint behavior

2. uvx (One-off commands)

  • Explained that uvx automatically uses the latest version on each run
  • Added tip about automatic updates unless version is pinned

3. uv add (Project dependency)

  • Added uv add --upgrade-package <package> for specific package upgrades
  • Added uv sync --upgrade for upgrading all dependencies
  • Included detailed notes about when to use each approach

4. pip (Conda environment)

  • Added platform-specific pip install --upgrade commands for all platforms
  • Included tip for upgrading specific dependencies independently

5. uv sync (From source)

  • Enhanced existing upgrade section with platform-specific examples
  • Added --upgrade flag with appropriate extras for each platform
  • Improved explanation of how --upgrade works

Documentation References

All upgrade instructions are based on the official uv documentation:

🤖 Generated with Claude Code

Added comprehensive "Updating Dependencies" sections for each installation method:
- uv tool install: Added uv tool upgrade commands
- uvx: Explained automatic updates on each run
- uv add: Added --upgrade-package and uv sync --upgrade instructions
- pip: Added pip install --upgrade commands for all platforms
- uv sync (from source): Enhanced with platform-specific upgrade examples

Each section includes platform-specific commands (CUDA 11.8, CUDA 12.8, CPU, macOS)
and explains how to update dependencies like sleap-io to their latest versions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@gitttt-1234 gitttt-1234 merged commit 1d46d08 into main Nov 21, 2025
1 check passed
@gitttt-1234 gitttt-1234 deleted the divya/add-dependency-update-docs branch November 21, 2025 05:16
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