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

Add support for uv venvs #1367

Merged
merged 1 commit into from
Nov 3, 2024
Merged

Add support for uv venvs #1367

merged 1 commit into from
Nov 3, 2024

Conversation

tleonhardt
Copy link
Member

@tleonhardt tleonhardt commented Nov 3, 2024

Summary

Add support for uv venvs. uv is an extremely fast Python package and project manager, written in Rust. It is a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.

uv is an order of magnitude or two faster than pipenv.

Testing

uv venv
uv run inv format
uv run inv lint
uv run inv mypy
uv run inv pytest
uv run inv doc8
uv run inv docs

NOTE: To make my life easy, I edited by .zshrc to add an alias called uinv that maps to uv run inv to run invoke commands using uv in the virtual environment created by uv.

Unrelated

Fix a spelling typo in a unit-test comment

@tleonhardt tleonhardt self-assigned this Nov 3, 2024
@tleonhardt tleonhardt merged commit 2dea62e into master Nov 3, 2024
46 checks passed
@tleonhardt tleonhardt deleted the uv branch November 3, 2024 20:13
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.

1 participant