Adopt uv to manage packages - #85
Open
n-batalha wants to merge 1 commit into
Open
Conversation
Member
|
Interesting, I'll have to learn more about uv, wasn't aware of it. Yeah, sometimes I don't update these until there is an actual problem or error message, hence things being out of date. I'll evaluate all this later on when I'm less busy, sorry for the delay. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
While we have a Python project, we adopt some best practices to help make sure the builds are reproducible and do not suddenly break (we currently see some errors in logs, as the deps used before have changed, but the requirements file just installs the latest, so more breakages can occur whenever caches expire).
Also now both local and deployment dependencies and Python versions are the same, so we're more confident how it renders locally is the same as when deployed.
Python's official tool is pipenv https://packaging.python.org/en/latest/tutorials/managing-dependencies/#managing-dependencies but the community seems to be converning on uv.
I only couldn't easily test GitHub Actions changes, but I commit to fix if only revealed once merged.