From f4e34177a856a62a6ae67981a1d75d5380eed624 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Fri, 24 Nov 2023 08:22:51 -0800 Subject: [PATCH] Review response --- py/client-ticking/setup.py | 2 +- py/client/setup.py | 2 +- py/embedded-server/setup.py | 2 +- py/server/setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/py/client-ticking/setup.py b/py/client-ticking/setup.py index 7d580e0ef36..29c6effcce7 100644 --- a/py/client-ticking/setup.py +++ b/py/client-ticking/setup.py @@ -15,7 +15,7 @@ def _get_readme() -> str: # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file - return (HERE / "README.md").read_text() + return (HERE / "README.md").read_text(encoding="utf-8") def _normalize_version(java_version): partitions = java_version.partition("-") diff --git a/py/client/setup.py b/py/client/setup.py index 21b5b43a7d4..10416fd0a66 100644 --- a/py/client/setup.py +++ b/py/client/setup.py @@ -14,7 +14,7 @@ def _get_readme() -> str: # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file - return (HERE / "README.md").read_text() + return (HERE / "README.md").read_text(encoding="utf-8") def _normalize_version(java_version): partitions = java_version.partition("-") diff --git a/py/embedded-server/setup.py b/py/embedded-server/setup.py index c96a555a571..b70149d3f3c 100644 --- a/py/embedded-server/setup.py +++ b/py/embedded-server/setup.py @@ -14,7 +14,7 @@ def _get_readme() -> str: # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file - return (HERE / "README_PyPi.md").read_text() + return (HERE / "README_PyPi.md").read_text(encoding="utf-8") def _normalize_version(java_version) -> str: partitions = java_version.partition("-") diff --git a/py/server/setup.py b/py/server/setup.py index adda909562d..7d7e04d828e 100644 --- a/py/server/setup.py +++ b/py/server/setup.py @@ -14,7 +14,7 @@ def _get_readme() -> str: # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file - return (HERE / "README.md").read_text() + return (HERE / "README.md").read_text(encoding="utf-8") def _normalize_version(java_version) -> str: partitions = java_version.partition("-")