mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-28 12:43:39 +08:00
update open calls to pass encoding (#684)
This commit is contained in:
@ -20,7 +20,7 @@ VERSION_FILENAME = os.path.join(
|
||||
BASE_DIR, "src", "opentelemetry", "util", "http", "version.py"
|
||||
)
|
||||
PACKAGE_INFO = {}
|
||||
with open(VERSION_FILENAME) as f:
|
||||
with open(VERSION_FILENAME, encoding="utf-8") as f:
|
||||
exec(f.read(), PACKAGE_INFO)
|
||||
|
||||
setuptools.setup(version=PACKAGE_INFO["__version__"])
|
||||
|
Reference in New Issue
Block a user