Skip to content

Convert from pipenv to uv #335

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

Merged
merged 4 commits into from
Jul 14, 2025
Merged

Convert from pipenv to uv #335

merged 4 commits into from
Jul 14, 2025

Conversation

stefanvanburen
Copy link
Member

uv is a better, faster version of pipenv for managing python projects.

The expectation here is similar to pipenv, in that developers will install uv locally; I haven't pinned a particular version as we aren't doing anything complicated (yet). Can pin a version later if necessary.

The only thing left that we may want to do here is to use uv as our build backend, which would eliminate our use of hatch, but uv doesn't have dynamic version resolution from vcs right now (which is how we currently do our releases), so holding off on that for the time being.

[uv][1] is a better, faster version of pipenv for managing python
projects.

[1]: https://docs.astral.sh/uv/
@stefanvanburen stefanvanburen requested review from jrinehart-buf and smaye81 and removed request for jrinehart-buf July 14, 2025 13:45
@stefanvanburen stefanvanburen marked this pull request as ready for review July 14, 2025 13:49
Should use UV_PYTHON instead; this is automatically done by the setup-uv
action.
There's no go.mod, so this fails. (Eventually we might as well switch to
installing from releases instead of using `go install`.)
@stefanvanburen stefanvanburen requested a review from rodaine July 14, 2025 19:27
@stefanvanburen
Copy link
Member Author

@rodaine I guess I can merge anyway, but mind restamping? :D

@stefanvanburen stefanvanburen merged commit 8c8715e into main Jul 14, 2025
12 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/uv branch July 14, 2025 19:33
stefanvanburen added a commit that referenced this pull request Jul 14, 2025
Follow up to #335:

* Point to uv instead of pipenv in CONTRIBUTING.md
* Remove exceptiongroup / tomli from dev dependencies (unnecessary)
@stefanvanburen stefanvanburen mentioned this pull request Jul 14, 2025
stefanvanburen added a commit that referenced this pull request Jul 14, 2025
Follow up to #335:

* Point to uv instead of pipenv in CONTRIBUTING.md
* Remove exceptiongroup / tomli from dev dependencies (unnecessary)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants