You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
📖 Update docs about Python project management #8449
With the new uv: Unified Python packaging, and Python Dagger Modules now using uv.lock by default, it's time to update our docs and make uv our main recommendation to develop Dagger Modules with Python, which simplifies workflows.
Not clear from the PR and what I've seen so far if your should remove the requirements.lock after converting to uv (I know we'll prefer uv.lock if present) or if there is a compat benefit/need such that we should recommend leaving it in place.
Activity
[-]Update docs about Python project management[/-][+]📖 Update docs about Python project management[/+]jpadams commentedon Sep 14, 2024
Not clear from the PR and what I've seen so far if your should remove the
requirements.lockafter converting touv(I know we'll preferuv.lockif present) or if there is a compat benefit/need such that we should recommend leaving it in place.helderco commentedon Sep 16, 2024
requirements.lock should be removed when migrating to uv.lock.
The caveat is that I've not provided instructions on how to preserve the same pinned versions, beyond linking to a workaround (in the feature PR).
In any case, it should be available from the git history, so the info isn't lost if needed. No compat concerns for keeping both files.