Python 3.7 is gone from the Airflow main branch - following the consensus we reached last week https://lists.apache.org/thread/b53jvo1cqzp7gnkfpfksv3pswmsk35g0 !
With this merged PR: https://github.com/apache/airflow/pull/30963 we are now officially 3.8 - 3.11 in the `main` branch. This means that the next `minor` release of Airflow (2.7.0) and all new providers will be Python 3.8+ only. Python 3.7 EOL is in a month and we decided to switch it off before. This also means that `apache/airflow` default images will also be Python 3.8 - based. Airflow 2.6* bugfix releases will continue to be released with Python 3.7 (but we will also merge 3.11 support for the next patchlevel release). Please make sure to rebase your PRs and fix all the conflicts. Also make sure to rebuild the Python 3.8 image for static checks `breeze ci-image build --python 3.8` and if your breeze will complain about Python 3.7 installation, make sure you have Python 3.8 set as default Python in your system (it might require you to upgrade your OS to newer version as well) and reinstall breeze with `pipx install --force -e ./dev/breeze` There might be some teething problems that we could not check before so please be a little patient while we will be solving them. We warmly welcome `:=` operator (walrus) to be used in Airflow J.