This is an automated email from the ASF dual-hosted git repository.
jtuglu1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new b6a5fabd04a fix: update milestone pr script (#19664)
b6a5fabd04a is described below
commit b6a5fabd04aed3236ba52c258c4b286eaf0ef363
Author: 317brian <[email protected]>
AuthorDate: Tue Jul 7 20:33:52 2026 -0700
fix: update milestone pr script (#19664)
Python 3.12 upgraded it to a SyntaxWarning from a DeprecationWarning and
it'll eventually be a failure
---
distribution/bin/get-milestone-prs.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/distribution/bin/get-milestone-prs.py
b/distribution/bin/get-milestone-prs.py
index 28e05968082..9d541ec3ea8 100755
--- a/distribution/bin/get-milestone-prs.py
+++ b/distribution/bin/get-milestone-prs.py
@@ -42,7 +42,7 @@ command = "git log {}..{} --oneline | tail
-1".format(upstream_master, upstream_
# Find the commit where the previous release branch was cut from master
previous_branch_first_commit = subprocess.check_output(command,
shell=True).decode('UTF-8')
-match_result = re.match("(\w+) .*", previous_branch_first_commit)
+match_result = re.match(r"(\w+) .*", previous_branch_first_commit)
previous_branch_first_commit = match_result.group(1)
print("Previous branch: {}, first commit: {}".format(upstream_previous,
previous_branch_first_commit))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]