Skip to content

Fix CI build: pass --ignore-installed to pip install virtualenv - #1156

Merged
scbizu merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Nov 4, 2026
Merged

scbizu merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

The "build" job fails at sudo pip install virtualenv && make acceptance. The new virtualenv release needs packaging>=26.3, so pip tries to uninstall the Debian-managed packaging 26.0. That copy has no RECORD file, so pip aborts with uninstall-no-record-file.

Changes

  • .github/workflows/build.yml and .github/workflows/build-pr.yml: add --ignore-installed to the virtualenv install. pip then installs the newer packaging alongside the Debian copy instead of trying to uninstall it.
-run: sudo pip install virtualenv && make acceptance
+run: sudo pip install --ignore-installed virtualenv && make acceptance

Review notes

  • This installs a second packaging into the system site-packages, which shadows the distro one. Alternatives are python3 -m venv in scripts/acceptance.sh, or apt-get install python3-virtualenv. I kept the change to the two workflow lines.
  • I haven't run this in CI.

Co-authored-by: scbizu <8732481+scbizu@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Fix CI build: pass --ignore-installed to pip install virtualenv Nov 4, 2026
Copilot AI requested a review from scbizu November 4, 2026 02:24
@scbizu
scbizu marked this pull request as ready for review November 4, 2026 02:33
@scbizu
scbizu merged commit ffbef79 into main Nov 4, 2026
2 checks passed
@scbizu
scbizu deleted the copilot/fix-failing-github-actions-job branch November 4, 2026 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants