Skip to content

bump version to 0.3.0#218

Merged
atomikpanda merged 2 commits into
mainfrom
feat/bump-version-to-030
Jun 19, 2026
Merged

bump version to 0.3.0#218
atomikpanda merged 2 commits into
mainfrom
feat/bump-version-to-030

Conversation

@atomikpanda

Copy link
Copy Markdown
Owner

Summary

Bump mship to 0.3.0 and fix version drift.

pyproject.toml was at 0.2.0 while src/mship/__init__.py __version__ had silently lagged at 0.1.0 (nothing consumed it, so nothing caught the drift). Both are now 0.3.0, and a new tests/test_version.py asserts mship.__version__ == pyproject [project].version so they can't diverge again.

0.3.0 reflects this cycle's feature work (bootstrap, cloud auth, the enforcement gate, spec list/show + lifecycle transitions, journal/build/etc.).

Test plan

  • tests/test_version.py::test_version_matches_pyproject (new) passes.
  • Full suite green via mship test.

…d test

pyproject was 0.2.0 while src/mship/__init__.py __version__ lagged at 0.1.0.
Set both to 0.3.0 and add tests/test_version.py asserting they stay in sync.
@greptile-apps

greptile-apps Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR synchronizes the package version to 0.3.0 across both pyproject.toml and src/mship/__init__.py, and adds a regression test to prevent the two from diverging again.

  • Version bump: pyproject.toml updated from 0.2.00.3.0; __version__ in src/mship/__init__.py corrected from the stale 0.1.00.3.0.
  • Guard test: tests/test_version.py reads pyproject.toml via tomllib (stdlib since 3.11, safe given requires-python = ">=3.14") and asserts mship.__version__ matches, preventing silent drift in future.

Confidence Score: 5/5

Safe to merge — all three changes are mechanical version string updates plus a straightforward regression guard.

The change touches only version strings and adds a test that reads a static file and performs a single equality assertion. There is no runtime logic, no API surface, and no side-effects to evaluate. The guard test itself is well-formed: it uses tomllib from the standard library, explicitly passes encoding='utf-8', and correctly navigates to pyproject.toml via parents[1].

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Version bumped from 0.2.0 to 0.3.0; no other changes.
src/mship/init.py version corrected from the stale 0.1.0 to 0.3.0, now in sync with pyproject.toml.
tests/test_version.py New regression guard that asserts mship.version equals pyproject.toml's project.version; uses UTF-8 encoding and stdlib tomllib correctly.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pyproject.toml\nversion = 0.3.0] -->|tomllib.loads| B[test_version_matches_pyproject]
    C[src/mship/__init__.py\n__version__ = 0.3.0] -->|import mship| B
    B -->|assert equal| D{Match?}
    D -->|Yes| E[Test passes ✓]
    D -->|No| F[Test fails — drift detected]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[pyproject.toml\nversion = 0.3.0] -->|tomllib.loads| B[test_version_matches_pyproject]
    C[src/mship/__init__.py\n__version__ = 0.3.0] -->|import mship| B
    B -->|assert equal| D{Match?}
    D -->|Yes| E[Test passes ✓]
    D -->|No| F[Test fails — drift detected]
Loading

Reviews (2): Last reviewed commit: "Update tests/test_version.py" | Re-trigger Greptile

Comment thread tests/test_version.py Outdated
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
@atomikpanda atomikpanda merged commit a8c0a44 into main Jun 19, 2026
1 check passed
@atomikpanda atomikpanda deleted the feat/bump-version-to-030 branch June 19, 2026 11: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.

1 participant