ashb commented on code in PR #70946:
URL: https://github.com/apache/airflow/pull/70946#discussion_r4272341385


##########
scripts/ci/prek/common_prek_utils.py:
##########
@@ -118,7 +118,7 @@ def run_command(*args, **kwargs) -> None:
 
 
 def read_airflow_version() -> str:
-    ast_obj = ast.parse((AIRFLOW_CORE_SOURCES_PATH / "airflow" / 
"__init__.py").read_text())
+    ast_obj = ast.parse((AIRFLOW_CORE_SOURCES_PATH / "airflow" / 
"__init__.py").read_text(encoding="utf-8"))

Review Comment:
   It was really only 3.15? Huh, I thought it was ages ago. I am maybe 
confusing python source encoding and "opening a file for reading" 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to