Skip to content

fix: Package to paths.dist_dir()#706

Merged
ppenna merged 1 commit into
nanvix/v3.12.3from
fix/release-v0.11.1
Jun 9, 2026
Merged

fix: Package to paths.dist_dir()#706
ppenna merged 1 commit into
nanvix/v3.12.3from
fix/release-v0.11.1

Conversation

@ada-x64

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

Copy link
Copy Markdown

This PR packages the release artifacts to paths.dist_dir(). Makes minimal code changes.

Also removes extraneous build from the release process.

Copilot AI review requested due to automatic review settings June 9, 2026 17:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Nanvix CPython release packaging to place generated release tarballs in the configured distribution directory (nanvix_zutil.paths.dist_dir()), and removes the explicit pre-install build step from the release packaging flow (relying on make install’s dependency on build).

Changes:

  • Switch release artifact output from repo_root / "dist" to paths.dist_dir() in both package() and verify().
  • Remove the explicit build_mod.build(...) invocation from package() (packaging now starts at install).

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

Comment thread .nanvix/package.py
Comment thread .nanvix/package.py
Comment thread .nanvix/package.py
@ada-x64 ada-x64 force-pushed the fix/release-v0.11.1 branch from f95b7ca to 10a35d1 Compare June 9, 2026 17:55
@ada-x64 ada-x64 marked this pull request as ready for review June 9, 2026 18:08
Copilot AI review requested due to automatic review settings June 9, 2026 18:08

Copilot AI left a comment

Copy link
Copy Markdown

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 2 comments.

Comment thread .nanvix/package.py
Comment on lines 210 to 212
artifact = _artifact_base(platform, process_mode, memory_size)
dist_dir = repo_root / "dist"
dist_dir = paths.dist_dir()

Comment thread .nanvix/package.py
Comment on lines 71 to 73
# Install into staging.
build_mod.install(
sysroot,
Comment thread .nanvix/package.py
@ada-x64 ada-x64 force-pushed the fix/release-v0.11.1 branch from 10a35d1 to 303da22 Compare June 9, 2026 18:32
@ppenna ppenna self-assigned this Jun 9, 2026
@ppenna ppenna merged commit 1207087 into nanvix/v3.12.3 Jun 9, 2026
15 checks passed
@ppenna ppenna deleted the fix/release-v0.11.1 branch June 9, 2026 18:47
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.

3 participants