Skip to content

Commit e508750

Browse files
committed
Fix EncodingWarnings in tools.finalize.
1 parent 51513fc commit e508750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/finalize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def get_version():
2525
cmd = bump_version_command + ['--dry-run', '--verbose']
26-
out = subprocess.check_output(cmd, text=True)
26+
out = subprocess.check_output(cmd, text=True, encoding='utf-8')
2727
return re.search('^new_version=(.*)', out, re.MULTILINE).group(1)
2828

2929

0 commit comments

Comments
 (0)