Enable `bump = true` for dynamic versioning across workspace

Merged
MA
2mo ago
+166-10

All Submissions:

  • Have you followed the guidelines stated in CONTRIBUTING.md file?
  • Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Changes To Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?

Summary

This PR enables bump = true in the [tool.uv-dynamic-versioning] configuration for all workspace packages that use dynamic versioning. Every commit after a git tag now builds as a development release of the next version, not of the version that was tagged.

Why This Matters

Without bump = true, commits after a post-release tag (e.g., v0.9.10.post1) derive 0.9.10.post1.devN. That is a development release of the published version, and it sorts below it. This breaks dependency floors: a floor like >= 0.9.10.post2.dev0 cannot be satisfied by workspace builds, so check-min-deps fails.

With bump = true, commits derive 0.9.10.post2.devN after a post release, or the next patch's .devN after a final release (0.9.13.devN after v0.9.12). A sibling dependency can then be floored at the .dev0 of the next version. That floor excludes every release up to the sibling's newest tag and is met by every later commit.

Changes

  1. Added bump = true to [tool.uv-dynamic-versioning] in all 27 tag-versioned workspace pyproject.toml files.
  2. Added a test (tests/units/test_dynamic_versioning.py) that checks every tag-versioned package has bump = true configured.
  3. Updated documentation in packages/reflex-release/README.md and AGENTS.md:
    • how to floor a sibling dependency at the .dev0 of its next version, with examples after final and post-release tags
    • the limits of such a floor: releases on other lines, and post releases cut after the floor was written
  4. Updated check_min_deps.py error messages to explain the .dev floor pattern and how to set it correctly.
  5. Updated the reflex-hosting-cli dependency on reflex-build-sdk from >=0.0.5,<0.0.6 to >=0.0.5,<0.0.6.post,!=0.0.6. The new range admits the workspace's 0.0.6.devN build but not 0.0.6 or its post releases, so published installs stay on the 0.0.5 line.

Test Plan

  • New unit test test_dynamic_versioning_bumps verifies all tag-versioned packages have bump = true configured.
  • Ran check-min-deps locally for reflex, reflex-components-core, reflex-components-radix and reflex-hosting-cli, with #7386 merged and its two dropped floors restored. All pass.
  • CI validates that all packages build and meet their declared floors with the new versioning behavior.

https://claude.ai/code/session_01C2Jdbq1ZdyTp47dMLY8GbH

šŸ¤– Generated with Claude Code