mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-30 21:56:07 +08:00
update open calls to pass encoding (#684)
This commit is contained in:
@ -21,7 +21,7 @@ VERSION_FILENAME = os.path.join(
|
||||
BASE_DIR, "src", "opentelemetry", "propagators", "ot_trace", "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