-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Replace poetry
with uv
#35084
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace poetry
with uv
#35084
Conversation
@silverwind whoa, I just sent #35085 and I hadn't seen your message in this PR yet haha. Edit: the good thing is that the lockfile doesn't target a version for each of the included packages in the flake, it is a version of the nixpkgs repository (so we target commit abc123, and that'd be the version of all our deps installed), regardless a bump to the flake is good. |
Ah okay so bascially flake.lock represents the host OS to run on, in a sense? |
Not quite, it's "use the versions of packages from this snapshot of the nixpkgs repository" (there are some caveats but that's pretty close). So if nixpkgs has version 2 of packagae abc at a certain commit, and version 3 at another, the version that would be installed would be based on the commit version we target, and a |
Ok, so the lockfile holds the version of all dependency packages. So if |
exactly |
* giteaofficial/main: Send email on Workflow Run Success/Failure (go-gitea#34982) [skip ci] Updated translations via Crowdin Replace `poetry` with `uv` (go-gitea#35084) nix flake update (go-gitea#35085) Use monospace font in PR command line instructions (go-gitea#35074) Add gitignore rules to exclude LLM instruction files (go-gitea#35076) [skip ci] Updated translations via Crowdin Fix form property assignment edge case (go-gitea#35073) Improve submodule relative path handling (go-gitea#35056) Fixed all grammatical errors in locale_en-US.ini (go-gitea#35053) UI: add hover background to table rows in user and repo admin page (go-gitea#35072)
Use the
uv
package manager to manage and run the two python dev dependencies.I think
flake.lock
needs regeneration, but don't want to install nixos on my Mac. I wonder if there is a way to runnix flake lock
standalone? maybe @techknowlogick can help.