The GitHub Actions job "Tests" on airflow.git has failed. Run started by GitHub user ashb (triggered by ashb).
Head commit for run: ef771a129df728f6c6564b0d16fe0fb5de2b7ab3 / Ash Berlin-Taylor <[email protected]> Don't use importlib.metadata to get Version for speed As discovered by @uranusjr in other PRs, loading the Metadata info at runtime is surprisingly expensive. Recent versions of setuptools (including the one we already say we depend upon in pyproject.toml) have the ability to pull the version from an attribute using an "ast-eval" method so this keeps the property of there being a single source of truth for the Airflow version, it just moves that places to airflow/__init__.py. You might wonder why this particular case matters at runtime? In the grand scheme of things it likely doesn't, except that the airflow/operators/python.py imports this at the top level (or did before this PR) which made me look in to it and discover a quick win here. Report URL: https://github.com/apache/airflow/actions/runs/4253289454 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
