You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eric-saintetienne (via GitHub)" <gi...@apache.org> on 2023/11/14 17:39:29 UTC

Re: [PR] zoneinfo.ZoneInfo is not available on < Python 3.9 [airflow]

eric-saintetienne commented on PR #34804:
URL: https://github.com/apache/airflow/pull/34804#issuecomment-1810783008

   Actually, this is not fixed in python versions prior to 3.9 on arm64.
   
   For example try to install `tzlocal` on `apache/airflow:2.3.4-python3.7` and you'll see that pip is trying to build from sources because there's no wheel available for arm64, which fails because gcc isn't installed in the airflow image. Add insult to injury, it's not possible to install gcc because the image islocked to a non-root user.
   
   `tzlocal` is pulled as dependency of another package that we need to install inside the image (something used by our code running in airflow dags)
   
   There's no wheel for that package on arm64: https://github.com/pganssle/zoneinfo/pull/100#issuecomment-1081338338


-- 
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