-
Notifications
You must be signed in to change notification settings - Fork 29
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
chore: switch from pipenv to uv #232
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it. ❤️ However we should announce that this PR would require everybody to migrate from pipenv
to uv
. It also changes how you work with the repo depending on if you checkout to phase-1
/phase-2
or main
...
Maybe we should keep Pipfile
/Pipfile.lock
around for compatibility sake and advice to use uv
in the future. And we should also consider backporting to phase-1
/phase-2
before removing Pipenv from the picture?
Correct, I'm planning backporting this once we agree to merge it.
While keeping Pipfile/Pipfile.lock around for compatibility seems fine, maintaining two dependency management tools would introduce overhead. Given the relatively small contributor base, I lean towards a clean break from Pipenv. Breaking early will encourage contributors to adopt uv sooner and reduce the risk of confusion or delays. I can write a small contributing guide that reflect how to build a venv with uv. What do you think? |
I'm fine with that... I can manage the slight inconvenience changing the venv provider when rebasing my PRs (in case my branch is on Clean break is fine with me, I would love to hear what others think. Maybe having a simple quick migration guide would be helpful. I see multiple options for that as well:
Either option is fine. Whatever is easier to manage. 🙂 |
In terms of migration, there is not much to do despite installing |
I guess it can be as simple as adding something like this to the README? WDYT? ## Developer setup
To collaborate on this repository, please follow these steps:
1. Install [uv](https://docs.astral.sh/uv/getting-started/installation/)
2. Run following commands to prepare your local environment
```
uv venv && uv sync
``` |
In addition we need to communicate that the day to day workflow changes from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few README suggestions. This should be the last time, I promise! 😄 🤷
uv from the people who wrote ruff is an extremely fast Python package and project manager. Co-authored-by: Tomas Coufal <[email protected]> Signed-off-by: Sébastien Han <[email protected]>
That's ok, I don't mind the back and forth :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Like it. 👍 Let's announce it before merging. Whenever you feel like it. 🙂
/lgtm
/approve
Done on Slack, thanks! |
uv from the people who wrote ruff is an extremely fast Python package and project manager.
Description
5989502 chore: switch from pipenv to uv
commit 5989502
Author: Sébastien Han [email protected]
Date: Mon Dec 9 15:33:46 2024 +0100
How Has This Been Tested?
Merge criteria: