Commit 1d46d08
Add dependency update instructions for all installation methods (#376)
## 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](https://docs.astral.sh/uv/):
- [uv tool upgrade](https://docs.astral.sh/uv/guides/tools/)
- [uv sync
--upgrade](https://docs.astral.sh/uv/concepts/projects/dependencies/)
- [uv add
--upgrade-package](https://docs.astral.sh/uv/concepts/projects/dependencies/)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <[email protected]>1 parent c793ccd commit 1d46d08
1 file changed
+94
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
82 | 94 | | |
83 | 95 | | |
84 | 96 | | |
| |||
123 | 135 | | |
124 | 136 | | |
125 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
126 | 147 | | |
127 | 148 | | |
128 | 149 | | |
| |||
215 | 236 | | |
216 | 237 | | |
217 | 238 | | |
218 | | - | |
| 239 | + | |
219 | 240 | | |
220 | 241 | | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
221 | 266 | | |
222 | 267 | | |
223 | 268 | | |
| |||
270 | 315 | | |
271 | 316 | | |
272 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
273 | 347 | | |
274 | 348 | | |
275 | 349 | | |
| |||
315 | 389 | | |
316 | 390 | | |
317 | 391 | | |
318 | | - | |
319 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
320 | 397 | | |
321 | | - | |
| 398 | + | |
322 | 399 | | |
323 | | - | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
324 | 413 | | |
325 | 414 | | |
326 | 415 | | |
| |||
0 commit comments