You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ashb (via GitHub)" <gi...@apache.org> on 2026/10/14 14:48:33 UTC

Re: [PR] Task SDK: Skip POSIX-only supervisor and task runner tests on Windows [airflow]

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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org