Use uv in favour of pip (attempt 2)#345
Merged
james-d-mitchell merged 13 commits intolibsemigroups:mainfrom Nov 6, 2025
Merged
Use uv in favour of pip (attempt 2)#345james-d-mitchell merged 13 commits intolibsemigroups:mainfrom
james-d-mitchell merged 13 commits intolibsemigroups:mainfrom
Conversation
Collaborator
Author
|
I think everything should be working with the pip job now. It turns our that running This might make the pip CI job slightly less stable, because we aren't using the pinned version of our dependencies that are specified by the |
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.
Supersedes #343 because apparently you can't reopen a pr after you force push to a branch.
Original description
Before this PR, we used
requirements.txtto try and create reproducible environments for our CI to run in. These files are non-standardized, awkward to maintain, and give different behaviour on different systems.This PR adds uv to our workflow to address these issues. The
uv.lockfile does the work of the oldrequirements.txtfile, and is automatically generated (by runninguv lock) using the information we already specify inpyproject.toml. We now use uv instead of pip in our CI.I haven't purged
requirements.txtand its associated scripts from the project yet, in case there are any users that use them, but I'm happy to do so if we don't think that's an issue.