Skip to content

CI: unblock test (clang++-10, clang-10) by handling PEP 668 pip installs - #665

Draft
fruffy with Copilot wants to merge 4 commits into
fix/docker-fixesfrom
copilot/fix-test-clang-job-failure
Draft

CI: unblock test (clang++-10, clang-10) by handling PEP 668 pip installs#665
fruffy with Copilot wants to merge 4 commits into
fix/docker-fixesfrom
copilot/fix-test-clang-job-failure

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown

The test (clang++-10, clang-10) GitHub Actions job fails in the unit-test step because containerized Python is now PEP 668-managed, and plain pip install exits with externally-managed-environment. This PR updates the workflow to install test Python deps in a way compatible with current Ubuntu/Python packaging behavior.

  • Root cause addressed

    • Unit-test dependency installation in .github/workflows/test.yml used system-level pip install without PEP 668 override.
  • Workflow change

    • Updated the unit-test install command to pass --break-system-packages to pip in the Docker test container.
    • Scope is limited to the CI unit-test dependency install line; no matrix, build, or test command changes.
  • Patch excerpt

    - python3 -m pip install ptf scapy grpcio googleapis-common-protos protobuf==3.20
    + python3 -m pip install --break-system-packages ptf scapy grpcio googleapis-common-protos protobuf==3.20

Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Copilot AI changed the title Fix CI pip install failure on Ubuntu 24 in test workflow CI: unblock test (clang++-10, clang-10) by handling PEP 668 pip installs Jul 29, 2026
Copilot AI requested a review from fruffy July 29, 2026 15:36
@github-actions github-actions Bot added the github_actions Pull requests that update GitHub Actions code label Jul 29, 2026
Co-authored-by: fruffy <5960321+fruffy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants