You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ds...@apache.org on 2022/12/06 20:38:14 UTC

[airflow] branch main updated: Don't check rosetta on i386 (#28169)

This is an automated email from the ASF dual-hosted git repository.

dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2d86a123da Don't check rosetta on i386 (#28169)
2d86a123da is described below

commit 2d86a123da8deea139164094b9bdd31cb063817d
Author: Daniel Standish <15...@users.noreply.github.com>
AuthorDate: Tue Dec 6 12:38:07 2022 -0800

    Don't check rosetta on i386 (#28169)
---
 dev/breeze/src/airflow_breeze/commands/main_command.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/commands/main_command.py b/dev/breeze/src/airflow_breeze/commands/main_command.py
index 620068b181..3761c4dabc 100644
--- a/dev/breeze/src/airflow_breeze/commands/main_command.py
+++ b/dev/breeze/src/airflow_breeze/commands/main_command.py
@@ -153,7 +153,7 @@ def check_for_python_emulation():
 
 
 def check_for_rosetta_environment():
-    if sys.platform != "darwin":
+    if sys.platform != "darwin" or platform.processor() == "i386":
         return
 
     from inputimeout import TimeoutOccurred, inputimeout