Skip to content

Fixup pip usage#287

Merged
ppenna merged 2 commits into
mainfrom
fix/284/pip
Jun 19, 2026
Merged

Fixup pip usage#287
ppenna merged 2 commits into
mainfrom
fix/284/pip

Conversation

@ada-x64

@ada-x64 ada-x64 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Closes #284

Verified by building in a container running ubuntu:24.04 base image, no pip install.

Copilot AI review requested due to automatic review settings June 19, 2026 16:46

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.

Pull request overview

Updates the Nanvix Python build script to use a more reliable pip invocation and to fail fast when pip installation of site-packages fails, addressing Ubuntu 24.04 environments where a pip binary may be absent.

Changes:

  • Simplifies pip invocation to sys.executable -m pip to avoid relying on pip3/system Python assumptions.
  • Makes pip installs fail the build by adding check=True to the subprocess.run() call.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .nanvix/z.py Outdated
Copilot AI review requested due to automatic review settings June 19, 2026 16:52

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

ada-x64 and others added 2 commits June 19, 2026 12:02
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@ada-x64 ada-x64 marked this pull request as ready for review June 19, 2026 17:02
@ada-x64 ada-x64 requested a review from ppenna as a code owner June 19, 2026 17:02
Copilot AI review requested due to automatic review settings June 19, 2026 17:02

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@ppenna ppenna self-assigned this Jun 19, 2026
@ppenna ppenna merged commit e50ed5f into main Jun 19, 2026
15 checks passed
@ppenna ppenna deleted the fix/284/pip branch June 19, 2026 18:09
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.

[build] Missing pip binary fails silently for _install_site_packages()

3 participants