Enable `bump = true` for dynamic versioning across workspace
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
- Added
bump = trueto[tool.uv-dynamic-versioning]in all 27 tag-versioned workspacepyproject.tomlfiles. - Added a test (
tests/units/test_dynamic_versioning.py) that checks every tag-versioned package hasbump = trueconfigured. - Updated documentation in
packages/reflex-release/README.mdandAGENTS.md:- how to floor a sibling dependency at the
.dev0of 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
- how to floor a sibling dependency at the
- Updated
check_min_deps.pyerror messages to explain the.devfloor pattern and how to set it correctly. - Updated the
reflex-hosting-clidependency onreflex-build-sdkfrom>=0.0.5,<0.0.6to>=0.0.5,<0.0.6.post,!=0.0.6. The new range admits the workspace's0.0.6.devNbuild 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_bumpsverifies all tag-versioned packages havebump = trueconfigured. - Ran
check-min-depslocally 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