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

Ambiguity in whether to use actions/setup-python #197

Closed
CarrotManMatt opened this issue Dec 18, 2024 · 1 comment · Fixed by #207
Closed

Ambiguity in whether to use actions/setup-python #197

CarrotManMatt opened this issue Dec 18, 2024 · 1 comment · Fixed by #207

Comments

@CarrotManMatt
Copy link

CarrotManMatt commented Dec 18, 2024

The first answer to the FAQs on this project's README suggests not to use actions/setup-python and to instead make use of uv managed Python installations.

This is in contrast the the official uv documentation about integration with GitHub workflows, which suggests to make use of actions/setup-python for a performance benefit due to the python executables being cached alongside GitHub's runners.

Please could some clarification be made either as a response in this issue, an amendment to the FAQ on the README or a change to uv's documentation to clarify whether or not actions/setup-python has any benefits or is made redundant by this project.

Many thanks.

@eifinger
Copy link
Collaborator

Yes the documentations don't match up. I will fix that. In the meantime: It is perfectly fine to use actions/setup-python and might even save ~1s. But for most usecases you don't have to use it. I will make that more clear in the documentation.

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.

2 participants