Skip to content

Commit f3409dc

Browse files
committed
replace . with - in python version everywhere
1 parent df139cc commit f3409dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/verify_python_build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def verify_and_test_python_linux(file_name, extensions, nightly_build, run_id, a
7979
# """, stdout=True, stderr=True)
8080
# extensions = select_extensions.output.decode()
8181
# print(extensions)
82+
version = version.replace(".", "-")
8283
for extension in extensions:
8384
installed = container.exec_run(f"""
8485
python -c "import duckdb; res = duckdb.sql('SELECT installed FROM duckdb_extensions() WHERE extension_name=\\'{ extension }\\'').fetchone(); print(res[0] if res else None)"
@@ -104,12 +105,11 @@ def verify_and_test_python_linux(file_name, extensions, nightly_build, run_id, a
104105
with open(file_name, "w") as f:
105106
f.write("nightly_build,architecture,runs_on,version,extension,statement,result\n")
106107
with open(file_name, "a") as f:
107-
f.write(f"{ nightly_build },{ architecture },{ runs_on },{ version.replace(".", "-") },{ extension },{ action },{ actual_result }\n")
108+
f.write(f"{ nightly_build },{ architecture },{ runs_on },{ version },{ extension },{ action },{ actual_result }\n")
108109
else:
109110
if not sha_mismatch_written:
110111
sha_mismatch_written = True
111112
non_matching_sha_file_name = "non_matching_sha_{}_{}.csv".format(nightly_build, architecture.replace("/", "-"))
112-
version = version.replace(".", "-")
113113
with open(non_matching_sha_file_name, 'a') as f:
114114
f.write(f"{ nightly_build },{ architecture },{ runs_on },{ version },{ extension },{ action },{ actual_result }\n")
115115

0 commit comments

Comments
 (0)