Skip to content

fixes bug in auditing python linux x64 whl - #1069

Open
Prathik Rao (prathikr) wants to merge 2 commits into
mainfrom
prathikrao/audit-wheel-bug-fix
Open

fixes bug in auditing python linux x64 whl#1069
Prathik Rao (prathikr) wants to merge 2 commits into
mainfrom
prathikrao/audit-wheel-bug-fix

Conversation

@prathikr

Copy link
Copy Markdown
Collaborator
Condition evaluation
Starting: Audit Linux ABI compatibility
==============================================================================
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.279.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
[Host] Selected Node version: Node24 (Strategy: Node24Strategy)
Generating script.
========================== Starting Command Output ===========================
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/mnt/azure_nvme_temp/_work/_temp/37145821-df28-4f7f-996b-40e66b1199d7.ps1'
&: /mnt/azure_nvme_temp/_work/_temp/37145821-df28-4f7f-996b-40e66b1199d7.ps1:9
Line |
   9 |  $json = (& auditwheel show --json $wheels[0].FullName) -join "`n"
     |             ~~~~~~~~~~
     | The term 'auditwheel' is not recognized as a name of a cmdlet, function,
     | script file, or executable program. Check the spelling of the name, or
     | if a path was included, verify that the path is correct and try again.

##[error]PowerShell exited with code '1'.
Finishing: Audit Linux ABI compatibility

Copilot AI balanced review requested due to automatic review settings September 2, 2026 23:57
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
foundry-local Ready Ready Preview Sep 3, 2026 4:22pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The isolated environment directly resolves the missing executable while preserving existing ABI validation.

Pull request overview

Creates an isolated host environment so the Linux ABI audit can reliably invoke auditwheel.

Changes:

  • Creates a temporary Python virtual environment.
  • Installs pinned auditwheel and invokes it as a module.
  • Improves setup and inspection error messages.
File summaries
File Description
.pipelines/v2/templates/steps-build-python.yml Makes Linux wheel auditing self-contained and reliable.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants