The GitHub Actions job "Build Images" on airflow.git has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
51bb0b03c24bf7a8ea8d844635d321ba0e73388d / Jarek Potiuk <[email protected]>
Protect against the case when emulated Python is used on M1s

People might have an intel Python installed on M1s. This happened
already. The result of it that they (unknowingly) suffer from
10x slower speed of any Python code they use (even locally).

This can happen in two cases:

* you can run in "arm" terminal and your python might be
  Intel based (for example when your environment is old or
  managed before it was ready for ARM architecture) or when
  you use some scientific package managers like anaconda that
  still have not switched to ARM. In this case we
  detect different architecture reported by Python and system.

* you can run it in emulated terminal when your IDE has been
  installed using different architecture. In this case, we detect
  if rosetta emulation is running via sysctl command.

This also impact Breeze because we are using Python architecture
in order to determine which platform image should be used by
Breeze.

This change adds big, fat warning and 20 seconds of delay asking
the user if they REALLY want to run Breeze command using emulated
architecture. If they answer y - it will continue. If they do not answer
or answer anything else, the command will error out.

Report URL: https://github.com/apache/airflow/actions/runs/2718322644

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to