Skip to content

Fix release metadata for v1.0.26#119

Merged
justrach merged 1 commit intomainfrom
release-1.0.26-pr
Apr 1, 2026
Merged

Fix release metadata for v1.0.26#119
justrach merged 1 commit intomainfrom
release-1.0.26-pr

Conversation

@justrach
Copy link
Copy Markdown
Owner

@justrach justrach commented Apr 1, 2026

Summary

  • bump TurboAPI release metadata from 1.0.25 to 1.0.26
  • sync the version across pyproject.toml, python/setup.py, and python/turboapi/__init__.py
  • add release notes explaining that v1.0.26 supersedes the bad v1.0.25 publish
  • add a regression test that fails if release metadata files drift out of sync again

Why

v1.0.25 published assets labeled 1.0.24, so this re-cuts the patch release on a fresh PR instead of tagging directly from a dirty/stale state.

Tests

  • PYTHONPATH=/tmp/turboapi-release-126-pr/python /Users/rachpradhan/turboAPI/.venv/bin/python -m pytest tests/test_release_version_sync.py -q
  • pre-commit hook suite during commit (ruff, TurboPG tests, Annotated Depends tests, security tests)

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 9b5240900c

ℹ️ 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".


def test_release_version_bumped_past_bad_1_0_25_publish():
"""This release must move past the broken 1.0.25 artifact metadata."""
assert _read_pyproject_version() == "1.0.26"
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Avoid pinning release test to 1.0.26

test_release_version_bumped_past_bad_1_0_25_publish now enforces an exact version string, so any valid future bump (for example to 1.0.27) will fail CI even when pyproject.toml, setup.py, and __init__.py stay correctly synchronized. This turns the regression test into a recurring manual gate unrelated to metadata drift; asserting the version is not 1.0.25 (or semver-greater) would preserve the intended protection without breaking future releases.

Useful? React with 👍 / 👎.

@justrach justrach merged commit 8b51593 into main Apr 1, 2026
7 checks passed
@justrach justrach deleted the release-1.0.26-pr branch April 1, 2026 00:25
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