Skip to content
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

Build venvs with uv #133

Open
lordmauve opened this issue Jan 21, 2025 · 0 comments · May be fixed by #134
Open

Build venvs with uv #133

lordmauve opened this issue Jan 21, 2025 · 0 comments · May be fixed by #134

Comments

@lordmauve
Copy link

uv is a fast alternative to pip and venv.

Building venvs with pip is a significant bottleneck in thx, as pip is slow, single-threaded, and caches only metadata. uv caches downloads as well, installs in parallel, and can rebuild venvs almost instantly.

Additionally uv has the ability to provision Python interpreters, which is valuable in a multi-version tool like thx.

We should add the option to use uv in order to take advantage of these capabilities.

When using uv we should allow uv configuration to dictate whether interpreters are downloaded or located on $PATH.

@lordmauve lordmauve linked a pull request Jan 21, 2025 that will close this issue
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 a pull request may close this issue.

1 participant