Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check_python_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip and setuptools
run: python -m pip install --upgrade pip setuptools
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

This workflow installs the latest pip/setuptools via --upgrade, which bypasses the repo’s pinned toolchain in requirements/pip.txt (e.g., pip==25.2, setuptools==80.9.0). Using unpinned latest versions can make CI nondeterministic or break unexpectedly. Consider installing from requirements/pip.txt (and include wheel if needed) to keep this workflow consistent with the other Python workflows.

Suggested change
- name: Upgrade pip and setuptools
run: python -m pip install --upgrade pip setuptools
- name: Install pinned Python packaging tools
run: python -m pip install -r requirements/pip.txt

Copilot uses AI. Check for mistakes.

- name: Install repo-tools
run: pip install edx-repo-tools[find_dependencies]

- name: Install setuptool
run: pip install setuptools

- name: Run Python script
run: |
find_python_dependencies \
Expand Down
Loading