This document describes how to cut a release of the RHOAI MLflow distribution. RHOAI
MLflow is built on top of upstream MLflow and ships as mlflow-3.x.y+rhaiv.N wheels.
- Python 3.10+
- uv installed
- Push access to the target git remote
- The
bin/taplobinary installed (uv run python bin/install.py)
Run the version bump script with the new version string:
uv run python dev/bump_version.py 3.10.1+rhaiv.1This single command updates all 8 files that contain the version:
mlflow/version.py(source of truth)mlflow/server/js/src/common/constants.tsx(frontend UI)docs/src/constants.ts(documentation site)pyproject.toml,pyproject.release.toml,libs/skinny/pyproject.toml,libs/tracing/pyproject.toml(regenerated viadev/pyproject.py)uv.lock(dependency lockfile)
Use --dry-run to preview changes without modifying anything:
uv run python dev/bump_version.py 3.10.1+rhaiv.1 --dry-runBuild the wheels locally to make sure everything is correct:
uv run python dev/build.py --package-type devTest that the wheel installs and reports the correct version:
pip install dist/mlflow-*.whl
python -c "import mlflow; print(mlflow.__version__)"The regex in dev/pyproject.py supports letters, digits, dots, hyphens, and +
characters in the version string. If you use a version with characters outside this set,
update the regex in dev/pyproject.py.
Install it with:
uv run python bin/install.py