The GitHub Actions job "CodeQL" on airflow.git has failed. Run started by GitHub user potiuk (triggered by potiuk).
Head commit for run: eef5bc7f166dc357fea0cc592d39714b1a5e3c14 / Jarek Potiuk <[email protected]> Add full automation for min Airflow version for providers (#30994) This change adds full automation for keeping and updating min airflow version for all community providers. It makes sure that: * all non-preinstalled providers have min-airflow-version set properly * all providers (including the preinstalled ones) additionally perform a runtime check on whether correct version of Airflow is installed. * allows for exceptional cases for some providers to be set * all providers have `version` added and exported in their `__init__.py` Usually just setting the airflow version in requirements should be enough, but since we have to install runtime check for preinstalled providers, it's easier to add the runtime check for all providers, and it will be additional verification that airflow version is properly set. Additionally, we can export correct version in the automatically generated `__init__.py` for all providers. The pre-installed providers cannot have explicit minimum airflow version specified as requirement, because this would create a dependency cycle with Airflow, and while such dependency cycle is fine for `pip`, other tools that analyse dependencies get confused and produce errors, claiming there cannot be dependenc cycles in the dependency tree (which is not generally a hard requirement, package dependency graph does not have to be DAG and it can contain cycles). This is why we have to add runtime check in the preinstalled providers to fail when they are installed with older Airflow versions than the ones that are supported by our policy. This PR automates maintenance of all the versions involved during prepearation of release documentation - it has been somewhat manual procedure so far, because it was only set in provider.yaml, but since now we set it in several places, it requires automation and single source of truth (which is prepare_provider_packages.py script that is used for preparation of provider documenation and packages. Report URL: https://github.com/apache/airflow/actions/runs/4869532813 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
