Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
smaddox
2 days ago
|
parent
|
context
|
favorite
| on:
/usr/bin/env -S uv run
I've been using this for a few weeks now, and it's really handy. But I did learn the hard way that it fails if you don't have internet connection, even if you already have the venv cached.
usrme
1 day ago
|
next
[–]
That's really unexpected! I'd default to the assumption that it would "just work" if all the dependencies are already met.
reply
BiteCode_dev
1 day ago
|
prev
[–]
`--offline` :)
reply
chippiewill
1 day ago
|
parent
[–]
Except you can't put that in the shebang for the first run
reply
BiteCode_dev
1 day ago
|
root
|
parent
[–]
True, for servers you can't warm up, shiv is your best bet:
https://shiv.readthedocs.io/
Or points to your own private pypi instance with --index-url.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: