Manage dependencies with uv #142
Open
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.
This is just a suggestion (also because you seemed favorable in #139, and alternative proposal), because whoever publishes the new .apkg files may find this more or less easy depending on their experience with Python.
This does mainly two things:
sort_field_indexin a released version, we no longer need a custom version.I'm not a user of Conda but I suppose this removes it as an option for dependency management.
Note that with
uv sync, you are guaranteed to get the same versions of packages as other contributors (thanks touv.lock). There's probably a similar concept in Conda. To update the dependencies, you can update thepyproject.tomland/or douv sync --upgrade. This could be a drawback if you don't like to require a git commit for dependency upgrades.Hopefully this helps. Otherwise feel free to ignore. After all, there's not many dependencies to worry about here, so the situation is certainly manageable with whatever tool you're the most familiar with.