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

ensure requirements.txt is available #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dbrtly
Copy link

@dbrtly dbrtly commented Oct 19, 2024

No description provided.

- name: Ensure requirements.txt is available
shell: bash
run: >
pip compile pyproject.toml --output-file requirement.txt
Copy link

Choose a reason for hiding this comment

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

The output filename requirement.txt should be requirements.txt (plural) to follow standard Python conventions. This matches both the step name and the widely-used filename across the Python ecosystem.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

- name: Ensure requirements.txt is available
shell: bash
run: >
pip compile pyproject.toml --output-file requirement.txt
Copy link

Choose a reason for hiding this comment

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

Since this action is using the astral-sh/setup-uv action, the command should be uv pip compile rather than pip compile. The standard pip package doesn't include a compile command - this functionality is specific to uv.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

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