Skip to content

Add self-contained offline dependency bundles - #175

Merged
virtuald merged 4 commits into
mainfrom
offline-bundles
Nov 23, 2026
Merged

virtuald merged 4 commits into
mainfrom
offline-bundles

Conversation

@virtuald

@virtuald virtuald commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

I haven't tried this yet, but Astra usually does a good job (even if it tends to overengineer... ) so I'm optimistic.

Sez the 🤖:

Adds commands to prepare and inspect RobotPy dependencies for disconnected environments:

  • robotpy installer offline create-bundle builds a Python zipapp from a specified pyproject.toml, using sync’s requirements and robot runtime selection.
  • Local dependencies resolve in a fresh environment, independently of installed packages.
  • Running the archive installs local wheels and populates the RobotPy cache without network access or preinstalled pip/RobotPy.
  • robotpy installer offline inspect reports local and robot wheel inventories, Python versions, and target platform.

Bundles target the creator’s OS, architecture, Python implementation, and major/minor version. Execution validates
compatibility and archive integrity before installation.

Includes CLI documentation and regression tests covering isolated resolution, pip-free installation, cache preservation, and malformed archives.

@virtuald virtuald mentioned this pull request Nov 20, 2026
Describe payloads with a compact manifest and infer their categories from the archive layout. Validate paths and payload integrity without importing bundle code or parsing nested wheels.
Resolve local and robot dependencies into a zipapp with bundled pip. Check host compatibility, install without network access, and safely merge the robot cache. Keep package contents opaque and omit original requirement URLs.
Add installer offline create-bundle and inspect commands, CLI coverage, and concise instructions for creating and using a trusted bundle.
@virtuald

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T08:07:03.491859Z 2d024a3 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6c4b9c1f3f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread robotpy_installer/offline.py Resolved
@virtuald

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: 2d024a3af2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@virtuald
virtuald merged commit 6fa12ab into main Nov 23, 2026
20 checks passed
@virtuald
virtuald deleted the offline-bundles branch November 23, 2026 06:05
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.

Add make-offline command

1 participant