Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've been pondering for a couple of weeks whether switching to
uv
as our package manager would be worthwhile. I've come to the conclusion it probably is.The biggest benefit to using
uv
is that it's also able to download and manage Python versions. The fact that we've been trying to ensure our robot code runs on earlier Python versions, mainly for the benefit of Linux users, has been holding us back from adopting new Python syntax.Starting next year, we could adopt
uv
and just assume everyone runs the same major version of Python that will be running on the robot, because we will be since we'll all be usinguv
.The only major drawback seems to be that we'll lose the little package scripts that we've defined:
pycrescendo/pyproject.toml
Lines 59 to 63 in 400c85f
However, I think most of the team references the readme most of the time anyway, so it's probably not a major loss.
A small note: the uv lockfile I'm checking in has newer versions of some of our transitive dependencies. Most of these differing dependencies are for development or testing only anyway.
Package diff