Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Wandb Weave Bump Version Dev

From Leeroopedia
Knowledge Sources
Domains Release_Engineering, Versioning
Last Updated 2026-02-14 00:00 GMT

Overview

External tool documentation for the development version bump step provided by the Wandb Weave repository.

Description

The second step of bump_python_sdk_version.py runs bump-my-version bump patch ./weave/version.py --commit to increment the patch version and add the dev tag. This transforms X.Y.Z → X.Y.(Z+1)-dev0.

Usage

This step runs automatically as part of the bump script, immediately after the release bump.

Code Reference

Source Location

  • Repository: wandb/weave
  • File: scripts/bump_python_sdk_version.py
  • Lines: L67-79

Signature

# Step 2 in main():
# bump-my-version bump patch ./weave/version.py --commit
# Transforms: X.Y.Z → X.Y.(Z+1)-dev0

CLI Usage

# Runs as part of the same script:
uv run scripts/bump_python_sdk_version.py

I/O Contract

Inputs

Name Type Required Description
(none) Runs as step 2 of the bump script

Outputs

Name Type Description
weave/version.py file Updated VERSION from "X.Y.Z" to "X.Y.(Z+1)-dev0"
git commit side_effect Commit with message "Release version: X.Y.Z → X.Y.(Z+1)-dev0"

Usage Examples

Dev Bump Result

# After release bump (0.52.29-dev0 → 0.52.29):
# Dev bump produces: 0.52.29 → 0.52.30-dev0

Related Pages

Implements Principle

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment