@@ -14,7 +14,7 @@ async function main() {
1414 const version = getVersionFromArgs ( ) ;
1515 await bumpPackageVersions ( version ) ;
1616 await updateRustClientVersion ( version ) ;
17- await updatePythonClientVersion ( version ) ;
17+ // await updatePythonClientVersion(version);
1818
1919 // IMPORTANT: Do this after bumping the version
2020 // Check & build
@@ -79,23 +79,23 @@ async function updateRustClientVersion(version: string) {
7979 }
8080}
8181
82- async function updatePythonClientVersion ( version : string ) {
83- console . log ( chalk . blue ( `Updating Python client version to ${ version } ...` ) ) ;
84- const pyprojectTomlPath = "clients/python/pyproject.toml" ;
85- const pyCargoTomlPath = "clients/python/Cargo.toml" ;
86-
87- try {
88- // Replace version in pyproject.toml and Cargo.toml
89- await $ `sed -i.bak -e 's/^version = ".*"/version = "${ version } "/' ${ pyprojectTomlPath } ` ;
90- await $ `sed -i.bak -e 's/^version = ".*"/version = "${ version } "/' ${ pyCargoTomlPath } ` ;
91- await $ `rm ${ pyprojectTomlPath } .bak` ;
92- await $ `rm ${ pyCargoTomlPath } .bak` ;
93- console . log ( chalk . green ( "✅ Updated Python client version" ) ) ;
94- } catch ( err ) {
95- console . error ( chalk . red ( "❌ Failed to update Python client version" ) , err ) ;
96- process . exit ( 1 ) ;
97- }
98- }
82+ // async function updatePythonClientVersion(version: string) {
83+ // console.log(chalk.blue(`Updating Python client version to ${version}...`));
84+ // const pyprojectTomlPath = "clients/python/pyproject.toml";
85+ // const pyCargoTomlPath = "clients/python/Cargo.toml";
86+
87+ // try {
88+ // // Replace version in pyproject.toml and Cargo.toml
89+ // await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyprojectTomlPath}`;
90+ // await $`sed -i.bak -e 's/^version = ".*"/version = "${version}"/' ${pyCargoTomlPath}`;
91+ // await $`rm ${pyprojectTomlPath}.bak`;
92+ // await $`rm ${pyCargoTomlPath}.bak`;
93+ // console.log(chalk.green("✅ Updated Python client version"));
94+ // } catch (err) {
95+ // console.error(chalk.red("❌ Failed to update Python client version"), err);
96+ // process.exit(1);
97+ // }
98+ // }
9999
100100async function runRustCheck ( ) {
101101 console . log ( chalk . blue ( "Running cargo check for Rust client..." ) ) ;
0 commit comments