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

You are writing your project file incorrectly. It's not a lock file


I never, ever, write my project file[1]. uv {add,remove} is all I ever use.

[1]: I do sometimes write the title or the description. But never the deps themselves


Even using `uv add`, you don't have to limit yourself to declaring exact versions when your intention is to allow newer versions.


You can specify bounds when using uv add:

uv add example>=0.4.0

Then it will update as you are thinking.


Whichever method you use, you need to produce a different file that better reflects your intentions




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

Search: