You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/09/21 11:17:06 UTC
(airflow) 01/01: Skip --explain-why for Python 3.10 in the deps summary job
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch skip-explain-why-python-310
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit ab7d70caec350ba987d23755e318021cd6009dad
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Sep 21 13:16:18 2026 +0200
Skip --explain-why for Python 3.10 in the deps summary job
Python 3.10 is losing support in more and more of our dependencies, so the
constraints check has far more outdated packages to explain there, and each
explanation costs a dependency resolution. That pushed the 3.10 job from
~18 to ~27 minutes on main. With 3.10 support being dropped in weeks, the
explanations are not worth the CI time for that version.
Generated-by: Claude Opus 5
---
.github/workflows/finalize-tests.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/finalize-tests.yml b/.github/workflows/finalize-tests.yml
index 8165c981cb8..33db1c24333 100644
--- a/.github/workflows/finalize-tests.yml
+++ b/.github/workflows/finalize-tests.yml
@@ -154,10 +154,14 @@ jobs:
run: >
breeze release-management constraints-version-check
--python "${MATRIX_PYTHON_VERSION}"
- --airflow-constraints-mode "${MATRIX_CONSTRAINTS_MODE}" --explain-why
+ --airflow-constraints-mode "${MATRIX_CONSTRAINTS_MODE}" "${EXPLAIN_WHY_FLAG}"
env:
MATRIX_PYTHON_VERSION: "${{ matrix.python-version }}"
MATRIX_CONSTRAINTS_MODE: "${{ matrix.constraints-mode }}"
+ # Explaining an outdated package resolves its dependency tree; on Python 3.10 more and more
+ # dependencies have dropped support, so there is far more to explain and the job takes much
+ # longer. Not worth it weeks before 3.10 support is dropped - remove this along with 3.10.
+ EXPLAIN_WHY_FLAG: ${{ matrix.python-version == '3.10' && '--no-explain-why' || '--explain-why' }}
VERBOSE: "false"
push-buildx-cache-to-github-registry: