Skip to content

Commit

Permalink
Fix EncodingWarnings in tools.finalize.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 12, 2024
1 parent 51513fc commit e508750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/finalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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


Expand Down

0 comments on commit e508750

Please sign in to comment.