Skip to content

ci: fix release-please prerelease version bumps - #1973

Merged
spydon merged 1 commit into
mainfrom
fix/release-please-prerelease-versions
Nov 4, 2026
Merged

spydon merged 1 commit into
mainfrom
fix/release-please-prerelease-versions

Conversation

@spydon

@spydon spydon commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The release PR (#1959) fails every CI job because release-please writes invalid versions such as 3.0.0-a2a1.

The marked files used the PEP 440 form 3.0.0a1. Release-please's generic updater only recognizes semver prereleases (3.0.0-a1), so it matched 3.0.0, replaced it with 3.0.0-a2, and left the trailing a1 behind. The toml updaters replaced only project.version, so the supabase_utils pins in those files were never bumped. src/utils was not in extra-files at all.

Changes

  • Write every release-please managed version in the hyphenated form (3.0.0-a1). This is valid PEP 440 and normalizes to 3.0.0a1, so built wheels and uv.lock are unchanged.
  • Use the generic updater for every pyproject.toml, so the dependency pins are bumped together with the package version.
  • Add src/utils/pyproject.toml to extra-files.
  • Mark the supabase_utils[all] dev pins in functions and postgrest so they are bumped too.

Verification

  • uv lock --check passes and uv.lock is unchanged.
  • Simulated the next bump (3.0.0-a1 to 3.0.0-a2 on every marked line). uv lock resolves, every package builds, and the installed metadata reports 3.0.0a2.

Once merged, release-please regenerates #1959.

__version__ will now read 3.0.0-a2 at runtime, so the client info headers report the hyphenated form. Package metadata stays normalized.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated the 3.0.0 alpha version identifiers across the Python packages to use consistent prerelease formatting.
    • Aligned package and dependency version constraints with the updated format, including optional and test dependencies.

Package versions and dependency pins change from 3.0.0a1 to 3.0.0-a1. The corresponding package __version__ values use the updated spelling. Release-please configuration now lists the affected pyproject.toml files as generic extra files and adds src/utils/pyproject.toml.

Possibly related PRs

  • supabase/supabase-py#1370: Adds the src/utils/pyproject.toml package file that this change adds to release-please configuration.

Change: Bug fix

Merge Risk: Minimal · up to e2e2f

The prerelease version spelling and release configuration are aligned. No merge-blocking issue is identified; merge after normal checks pass.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 339060ae-cff0-4d79-b3e3-ae51ad37518e
Commits

Reviewing files that changed from the base of the PR and between 8b8fb5e and e2e2f2b.

Files selected for processing: 14
  • release-please-config.json
  • src/auth/pyproject.toml
  • src/auth/src/supabase_auth/version.py
  • src/functions/pyproject.toml
  • src/functions/src/supabase_functions/version.py
  • src/postgrest/pyproject.toml
  • src/postgrest/src/postgrest/version.py
  • src/realtime/pyproject.toml
  • src/realtime/src/realtime/version.py
  • src/storage/pyproject.toml
  • src/storage/src/storage3/version.py
  • src/supabase/pyproject.toml
  • src/supabase/src/supabase/version.py
  • src/utils/pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 0 remain after this review.

@spydon
spydon merged commit 9ec8e52 into main Nov 4, 2026
57 checks passed
@spydon
spydon deleted the fix/release-please-prerelease-versions branch November 4, 2026 14:30
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