-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use uv instead of pip #57
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.
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.
lgtm! just one nit on whether we really need uv run
for the prefect deploy
commands
uv run prefect --no-prompt deploy --all --prefect-file "${{ inputs.deployment-file-path }}" | ||
else | ||
IFS=',' read -ra deployment_names <<< "${{ inputs.deployment-names }}" | ||
for name in "${deployment_names[@]}"; do | ||
prefect --no-prompt deploy --prefect-file "${{ inputs.deployment-file-path }}" --name "$name" | ||
uv run prefect --no-prompt deploy --prefect-file "${{ inputs.deployment-file-path }}" --name "$name" |
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.
are these uv run
s necessary? it looks like the setup-uv thing adds the new interpreter to the path already
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.
It adds uv to the path but does not activate the virtual environment. This makes uv run
required I believe.
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.
holding for failing CI
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.
thank you! @fchareyr
This PR introduces
uv
as a drop-in replacement forpip
.