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

Replace pip usage with uv pip #3

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Conversation

sergei-maertens
Copy link
Member

actions/setup-python doesn't understand uv yet w/r to the cache, so this is set up manually in the same fashion.

Note: doesn't support operating systems other than Linux/Ubuntu, but that was already the case because of the apt-get usage.

uv is much faster than pip by itself.

TODO: cache (built) wheels.
UV has its own cache directory, where it stores built/downloaded
wheels and other resolution information.
Copy link

@Viicos Viicos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we wait for actions/setup-python#818, or is it something that needs to land quickly?

@sergei-maertens
Copy link
Member Author

Should we wait for actions/setup-python#818, or is it something that needs to land quickly?

PRs to setup-python have not been followed up quickly, so no point in waiting. We can update our action again if the support lands.

@sergei-maertens sergei-maertens merged commit a0b1b62 into main Apr 12, 2024
@sergei-maertens sergei-maertens deleted the feature/switch-to-uv branch April 12, 2024 09:24
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.

4 participants