Back to all reviewers

Standardize dependency management

pydantic/pydantic
Based on 6 comments
Yaml

Maintain consistent dependency management practices across CI workflows to ensure reliable builds and tests. Use the same tool (e.g., UV, PDM) throughout workflows and specify Python versions explicitly. Avoid redundant dependency specifications when dependencies are already included in other groups.

CI/CD Yaml

Reviewer Prompt

Maintain consistent dependency management practices across CI workflows to ensure reliable builds and tests. Use the same tool (e.g., UV, PDM) throughout workflows and specify Python versions explicitly. Avoid redundant dependency specifications when dependencies are already included in other groups.

Example:

- uses: astral-sh/setup-uv@v5
  with:
    python-version: $
    enable-cache: true

- name: Install dependencies
  run: uv sync --python $ --group testing --extra timezone

When installing dependencies, verify that you’re not specifying extras that are already included in other groups. Keep tool configurations as close as possible to the upstream project’s CI when working with third-party integrations.

6
Comments Analyzed
Yaml
Primary Language
CI/CD
Category

Source Discussions