How would this feature be useful?
uv added a cross-platform lock format in 0.3.0. I can see this to become a standard for packages to keep CI stable.
Given that uv sync doesn't have target-installations (yet), it's tricky
Describe the solution you'd like
I think it would be really cool if session.install(".[tests]") automatically discovered a uv.lock file and ran uv sync --extra tests but I could live with session.sync("extras") too.
Either would improve the overall Python DX tremendously.
Describe alternatives you've considered
Hand-craft it, I guess? One has to do manual change directories etc tho.
Anything else?
No response
How would this feature be useful?
uv added a cross-platform lock format in 0.3.0. I can see this to become a standard for packages to keep CI stable.
Given that
uv syncdoesn't have target-installations (yet), it's trickyDescribe the solution you'd like
I think it would be really cool if
session.install(".[tests]")automatically discovered auv.lockfile and ranuv sync --extra testsbut I could live withsession.sync("extras")too.Either would improve the overall Python DX tremendously.
Describe alternatives you've considered
Hand-craft it, I guess? One has to do manual change directories etc tho.
Anything else?
No response