airflow icon indicating copy to clipboard operation
airflow copied to clipboard

Python 3.8 with breeze causes import error

Open potiuk opened this issue 1 year ago • 4 comments

When we are using Python 3.8 or less for breeze, it failes on functools.cache and the error is not telling too much.

Image

We should catch the import error and print meaningful message

potiuk avatar Oct 16 '24 17:10 potiuk

i will take a stab at this issue @potiuk

Bowrna avatar Oct 16 '24 18:10 Bowrna

If a PR/fix is available we also need to add this to PR for version 2.10 in PR https://github.com/apache/airflow/pull/42788 (or on the same branch)

jscheffl avatar Oct 16 '24 19:10 jscheffl

Python 3.8 support was recently removed. Do we still need to address this issue, or is it now obsolete?

dirrao avatar Oct 19 '24 05:10 dirrao

It is helping users who try to contribute but (by accident an old interpreter in the $PATH or just have not read the docs) that the root cause can be better identified. Same we had in the past when people tried to contribute tried (and failed) to start breeze in Windows. So it might not only be specifically for Python 3.8 but for all versions <= 3.8

jscheffl avatar Oct 19 '24 15:10 jscheffl