Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

Sync cua-driver Python wrapper version (#2131)

Francesco Bonacci6a42b2b6aeb3
diff --git a/.github/scripts/tests/test_cua_driver_release_wiring.py b/.github/scripts/tests/test_cua_driver_release_wiring.py
index febccca662..bdeb74c38f 100644
--- a/.github/scripts/tests/test_cua_driver_release_wiring.py
+++ b/.github/scripts/tests/test_cua_driver_release_wiring.py
@@ -52,6 +52,12 @@ class TestCuaDriverReleaseWiring(unittest.TestCase):
workflow,
)
+ def test_rust_driver_bump_keeps_python_wrapper_version_synced(self) -> None:
+ config = self.read("libs/cua-driver/rust/.bumpversion.cfg")
+
+ self.assertIn("[bumpversion:file:../python/pyproject.toml]", config)
+ self.assertIn("[bumpversion:file:../python/src/cua_driver/__init__.py]", config)
+
if __name__ == "__main__":
unittest.main()
diff --git a/libs/cua-driver/python/pyproject.toml b/libs/cua-driver/python/pyproject.toml
index c5f69180b1..6e94ca6fa3 100644
--- a/libs/cua-driver/python/pyproject.toml
+++ b/libs/cua-driver/python/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "cua-driver"
-version = "0.7.0"
+version = "0.7.1"
description = "Python wrapper for cua-driver - cross-platform MCP server for computer-use automation"
readme = "README.md"
license = { text = "MIT" }
diff --git a/libs/cua-driver/python/src/cua_driver/__init__.py b/libs/cua-driver/python/src/cua_driver/__init__.py
index 4ca044b1d5..c8560701fd 100644
--- a/libs/cua-driver/python/src/cua_driver/__init__.py
+++ b/libs/cua-driver/python/src/cua_driver/__init__.py
@@ -4,7 +4,7 @@ This package provides a thin Python wrapper around the cua-driver Rust binary,
enabling pip-installable access to the MCP server for computer-use automation.
"""
-__version__ = "0.7.0"
+__version__ = "0.7.1"
from .wrapper import run_cua_driver, get_binary_path
diff --git a/libs/cua-driver/rust/.bumpversion.cfg b/libs/cua-driver/rust/.bumpversion.cfg
index e37d3c102b..d6b64bfa67 100644
--- a/libs/cua-driver/rust/.bumpversion.cfg
+++ b/libs/cua-driver/rust/.bumpversion.cfg
@@ -8,3 +8,11 @@ message = Bump cua-driver-rs to v{new_version}
[bumpversion:file:Cargo.toml]
search = version = "{current_version}"
replace = version = "{new_version}"
+
+[bumpversion:file:../python/pyproject.toml]
+search = version = "{current_version}"
+replace = version = "{new_version}"
+
+[bumpversion:file:../python/src/cua_driver/__init__.py]
+search = __version__ = "{current_version}"
+replace = __version__ = "{new_version}"