Skip to content

Conversation

@meatballhat
Copy link
Contributor

to attempt to use cached installation, falling back to uv pip install. The goal here is to behave the same way as uv pip install but with the extra knowledge of cached versions, e.g.:

$ uv pip install cog==0.11.3
Resolved 25 packages in 165ms
Installed 1 package in 2ms
 + cog==0.11.3

$ uv pip show cog
Name: cog
Version: 0.11.3
Location: /Users/me/Downloads/blep2/.venv/lib/python3.13/site-packages
Requires: attrs, fastapi, pydantic, pyyaml, requests, structlog,
typing-extensions, uvicorn
Required-by:

$ uv pip install 'cog>=0.11.3'
Audited 1 package in 2ms

Connected to PLAT-611

to attempt to use cached installation, falling back to `uv pip install`.
The goal here is to behave the same way as `uv pip install` but with the
extra knowledge of cached versions, e.g.:

```
$ uv pip install cog==0.11.3
Resolved 25 packages in 165ms
Installed 1 package in 2ms
 + cog==0.11.3

$ uv pip show cog
Name: cog
Version: 0.11.3
Location: /Users/me/Downloads/blep2/.venv/lib/python3.13/site-packages
Requires: attrs, fastapi, pydantic, pyyaml, requests, structlog,
typing-extensions, uvicorn
Required-by:

$ uv pip install 'cog>=0.11.3'
Audited 1 package in 2ms
```

Connected to PLAT-611
@meatballhat meatballhat requested a review from a team as a code owner November 23, 2024 16:08
@meatballhat
Copy link
Contributor Author

This gets handled by another layer 🎉

@meatballhat meatballhat deleted the match-gte-cog-versions branch November 24, 2024 01:46
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