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 a uv flag to make it possible to automatically replace pip with uv pip and prepend run command with uv run #765

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

haixuanTao
Copy link
Collaborator

@haixuanTao haixuanTao commented Jan 29, 2025

This uv flag makes it possible to run dora within a uv venv envirement instead of a venv.

This has the advantage, to:

  • not depend on a shell to run command within the virtual env.
  • be faster than normal venv
  • be easier to maintain a clear separation of environment.

Example

Screen.Recording.2025-01-29.at.15.36.07.mov

Usage

uv venv
dora build dataflow.yml --uv
dora run dataflow.yml --uv

@haixuanTao haixuanTao merged commit b58c534 into main Jan 30, 2025
114 checks passed
@haixuanTao haixuanTao deleted the add-uv-flag branch January 30, 2025 09:46
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