Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PSA careful replacing `pip` with `uv` thinking it's a drop-in replacement.

By default `uv` won't generate `pyc` files which might make your service much slower to start.

See https://docs.astral.sh/uv/reference/settings/#pip_compile-by...



uv's guide for use in containers is a better reference for this: https://docs.astral.sh/uv/guides/integration/docker/#compili...


Agreed if you're going there from the start.

I stumbled on this by porting something using that was previously pip, and that surprisingly different default has been a foot gun.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: