Skip to content

Require ShellKit by version (0.1.x) so SwiftScript can be tagged - #21

Merged
odrobnik merged 1 commit into
mainfrom
release/issue-89
Oct 8, 2026
Merged

odrobnik merged 1 commit into
mainfrom
release/issue-89

Conversation

@odrobnik

@odrobnik odrobnik commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Why

SwiftPM refuses a version requirement on a package whose own dependencies are branch-pinned. While SwiftScript required ShellKit by branch: "main", nobody could depend on SwiftScript by version, and neither could SwiftBash above it (Cocoanetics/SwiftBash#89).

What

  • Package.swift: ShellKit branch: "main" → .upToNextMinor(from: "0.1.0"). ShellKit is 0.x and a minor bump may change API, so dependents in the family pin the minor and move together.
  • Package.resolved: ShellKit moves from the main pin (ce21474) to the 0.1.0 tag (40c1b41).

Verification

Local swift test: 580 tests in 63 suites, 579 pass. The one failure is probeMatchesStockSwift("34_auto_harvest_smoke"), which is unrelated to this change: the golden says CharacterSet.isDisjoint(with:) on a set and its inverse is false, but stock Swift 6.4 on current macOS prints true, and so does the interpreter. The golden is stale for the current Foundation; tracked separately.

Follow-up

Once merged, tag 0.1.0 so SwiftBash can require SwiftScript .upToNextMinor(from: "0.1.0").

🤖 Generated with Claude Code

SwiftPM refuses a version requirement on a package whose own
dependencies are branch-pinned, so as long as SwiftScript required
ShellKit by `branch: "main"` nobody could depend on SwiftScript by
version — and neither could SwiftBash, which sits above it.

ShellKit 0.1.0 is now tagged. The requirement becomes
`.upToNextMinor(from: "0.1.0")`: ShellKit is 0.x and a minor bump may
change API, so the family moves minors together rather than floating
across them. Package.resolved moves from the `main` pin (ce21474) to the
0.1.0 tag (40c1b41); the two intervening ShellKit changes (lazy process
stdin, UNC root normalisation) don't touch anything SwiftScript uses.

Part of the bottom-up version tagging across the ShellKit family
(Cocoanetics/SwiftBash#89).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T08:24:07.773682Z fe9ae5d PR opened
ℹ️ 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.

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.

1 participant