Skip to content

chore(release): 0.4.1 — dependency policy + ecosystem floor bump (closes #21)#22

Merged
wesleysimplicio merged 1 commit into
masterfrom
claude/issue-21-dep-policy
May 28, 2026
Merged

chore(release): 0.4.1 — dependency policy + ecosystem floor bump (closes #21)#22
wesleysimplicio merged 1 commit into
masterfrom
claude/issue-21-dep-policy

Conversation

@wesleysimplicio
Copy link
Copy Markdown
Owner

Closes #21.

What ships

Policy

.specs/workflow/DEPENDENCY_POLICY.md — ecosystem rules:

  • Semver consistent across all packages
  • Pin by floor (>=), not by exact version
  • No cyclic deps; ordered graph: mapper → prompt → cli
  • 15-day rule: dependents must bump the floor within 15 days of an upstream minor/patch release; majors require a migration PR with a CHANGELOG note
  • Release-sync checklist: version bump → CHANGELOG → build → PyPI/npm publish → tag → GitHub Release → PR in dependents

Enforcement (CI)

.github/workflows/check-deps.yml:

  • Runs daily on cron + on every PR that touches pyproject.toml
  • Queries PyPI for each ecosystem dep, compares the >= floor against the latest version
  • Fails the build with ::error:: annotations if any floor is ≥ 1 minor behind upstream

.github/dependabot.yml:

  • Weekly grouped pip updates (ecosystem packages grouped under simplicio-*)
  • Weekly cargo updates for rust/simplicio-core
  • Weekly github-actions updates
  • Patches auto-merge; minor and major wait for review

Drift the new CI surfaced on first run

simplicio-mapper >=0.5.0  →  >=0.6.0   (upstream 0.6.0 already published)
simplicio-prompt >=1.7.0  →  >=1.9.0   (upstream 1.9.0 already published)

Both bumps applied in this PR so the policy is satisfied the moment it lands.

Release

  • simplicio-cli version: 0.4.0 → 0.4.1 (patch — dep-floor bump + policy docs/CI; no public API change)
  • CHANGELOG.md gains a [0.4.1] entry

Validation

  • pytest tests/python38/38 green with the upgraded ecosystem versions installed
  • check-deps.yml logic dry-run locally — correctly flagged the original drift
  • python -m build — wheel + sdist produced (simplicio_cli-0.4.1-*)

Release process continuing after this merge

  1. Upload dist/simplicio_cli-0.4.1-* to PyPI
  2. Tag v0.4.1 on the merge commit and push it (manual — proxy git in the sandbox blocks tag push)
  3. Cut the matching GitHub Release with the [0.4.1] CHANGELOG body

https://claude.ai/code/session_01SUTucCkHHddcSsUPs4oKkT


Generated by Claude Code

…oses #21)

Issue #21: dependency-update policy across the Simplicio ecosystem.

Policy + enforcement:
- .specs/workflow/DEPENDENCY_POLICY.md declares ecosystem rules:
  semver, >= floor-pinning, 15-day floor-bump rule after each upstream
  release, no cyclic deps, release-sync checklist (bump + CHANGELOG +
  PyPI/npm publish + git tag + GitHub Release + dependent PRs).
- .github/workflows/check-deps.yml runs the CI side: daily cron and
  on every PR touching pyproject.toml, it queries PyPI for the latest
  version of each ecosystem dep, compares against the >= floor in
  pyproject, and fails with ::error:: annotations if any floor is at
  least a minor behind upstream.
- .github/dependabot.yml schedules weekly updates: pip ecosystem deps
  grouped (simplicio-*), cargo for rust/simplicio-core, and
  github-actions. Patches set up to auto-merge; minor and major wait
  for human review per policy.

Drift the new CI surfaced on first run:
  simplicio-mapper >=0.5.0  ->  >=0.6.0  (upstream 0.6.0 already on PyPI)
  simplicio-prompt >=1.7.0  ->  >=1.9.0  (upstream 1.9.0 already on PyPI)

Bumped in the same PR so the policy is satisfied the moment it lands.
pytest tests/python: 38/38 green with the upgraded versions installed.

simplicio-cli version: 0.4.0 -> 0.4.1 (patch -- dep-floor bump + policy
docs / CI; no public API change).

Wheel built locally:
  dist/simplicio_cli-0.4.1-py3-none-any.whl   47 KB
  dist/simplicio_cli-0.4.1.tar.gz             64 KB

https://claude.ai/code/session_01SUTucCkHHddcSsUPs4oKkT
@wesleysimplicio wesleysimplicio merged commit 8f174fd into master May 28, 2026
1 check passed
@wesleysimplicio wesleysimplicio deleted the claude/issue-21-dep-policy branch May 31, 2026 10:12
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.

🔄 Política de Atualização de Pacotes e Dependências entre Projetos

2 participants