You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Databricks provider and numpy constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded #69603
I think there should be something near the latest version 7.16.1. I don't know if this intended or if there might be a deeper issue because with Airflow 3.2.x, a proper version is included.
changed the title [-]Databricks provider constraint for python 3.11 and 3.12 is at an old version[/-][+]Databricks provider constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/+]on Jul 8, 2026
changed the title [-]Databricks provider constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/-][+]Databricks provider and numpy constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/+]on Jul 8, 2026
I think there should be something near the latest version 7.16.1. I don't know if this intended or if there might be a deeper issue because with Airflow 3.2.x, a proper version is included.
There is no way to do that. The versions are decided by PIP resolution algorithm. As long as versions are compatible that is acceptable.
You can always generate your own constraints file. You don't have to use the one provided by Airflow.
@n-badtke-cg Yep, valid reference for a validation case in my repo, but accidentally used GitHub's cross-reference syntax in the commit message. Fixed.
The databricks provider downgrade on the Airflow 3.3.0 constraints for Python 3.11 and 3.12 has been fixed.
Root cause: the constraints pinned thrift==0.23.0, which conflicts with databricks-sql-connector 4.x (thrift<0.21.0). During resolution the newer thrift was kept and the connector was downgraded to 2.0.2, which in turn dragged apache-airflow-providers-databricks back to 6.13.0 (Oct 2024). Python 3.10/3.13/3.14 were unaffected.
Fix — the Python 3.11 and 3.12 pins were brought in line with the other interpreters:
This was applied to both the constraints-3.3.0 tag and the rolling constraints-3-3 branch. The generator-side fix that prevents recurrence (pinning databricks-sql-connector>=4.0.0 during constraint generation) is already on v3-3-test (#69871). The published 3.3.0 images are being refreshed with the corrected constraints.
Drafted-by: Claude Code (Opus 4.8); reviewed by potiuk before posting
Fixed. The constraints-3.3.0 tag and the constraints-3-3 branch now pin apache-airflow-providers-databricks7.16.1 / databricks-sql-connector4.2.5 / thrift0.16.0 for Python 3.11 and 3.12 (matching the other interpreters), and the official apache/airflow:3.3.0 py3.11/3.12 Docker images have been rebuilt with the corrected constraints. The docker-stack changelog records the change. Closing as resolved.
Drafted-by: Claude Code (Opus 4.8); reviewed by potiuk before posting
Activity
n-badtke-cg commentedon Jul 8, 2026
I compared
Airflow 3.2.x python 3.12 constraints (https://github.com/apache/airflow/blob/constraints-3-2/constraints-3.12.txt) with
Airflow 3.3.x python 3.12 constraints (https://github.com/apache/airflow/blob/constraints-3-3/constraints-3.12.txt)
Downgrades I found (left is
constraints-3-2, right isconstraints-3-3):apache-airflow-providers-databricks==7.15.0->apache-airflow-providers-databricks==6.13.0databricks-sql-connector==4.2.5->databricks-sql-connector==2.0.2databricks-sql-connectoris a dependency ofapache-airflow-providers-databricksnumpy==2.4.6->numpy==1.26.4pandas==2.3.3->pandas==2.1.4Apart from that, the diffs for python 3.11 and 3.12 look more weird in general: https://github.com/apache/airflow/compare/constraints-3-2..constraints-3-3
[-]Databricks provider constraint for python 3.11 and 3.12 is at an old version[/-][+]Databricks provider constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/+][-]Databricks provider constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/-][+]Databricks provider and numpy constraint for python 3.11 and 3.12 for Airflow 3.3.0 got downgraded[/+]n-badtke-cg commentedon Jul 8, 2026
Ah btw, the databricks provider and numpy constraints for python 3.10, 3.13 and 3.14 of Airflow 3.3.0 seems to be up-to-date.
It is really only about python 3.11 and 3.12 specifically
DonHaul commentedon Jul 8, 2026
Also pandas is now
pandas==2.1.4waspandas==2.3.3n-badtke-cg commentedon Jul 8, 2026
presumably because of numpy?EDIT: hmm, I am tempted to assume that the dependencies go like this:
apache-airflow-providers-databricks==7.15.0->apache-airflow-providers-databricks==6.13.0databricks-sql-connectoris a dependency ofapache-airflow-providers-databricks: https://github.com/apache/airflow/blob/main/providers/databricks/pyproject.toml#L66pandasis a dependency ofapache-airflow-providers-databricks: https://github.com/apache/airflow/blob/main/providers/databricks/pyproject.toml#L69numpyis a dependency ofpandas: https://github.com/pandas-dev/pandas/blob/main/pyproject.toml#L11eladkal commentedon Jul 9, 2026
There is no way to do that. The versions are decided by PIP resolution algorithm. As long as versions are compatible that is acceptable.
You can always generate your own constraints file. You don't have to use the one provided by Airflow.
fix: has_maintainer_approval was set from the wide 3c maintainer union
n-badtke-cg commentedon Jul 13, 2026
@imkp1 wrong issue?
imkp1 commentedon Jul 13, 2026
@n-badtke-cg Yep, valid reference for a validation case in my repo, but accidentally used GitHub's cross-reference syntax in the commit message. Fixed.
eladkal commentedon Jul 13, 2026
Since there is no action item on this issue I am going to close it.
18 remaining items
potiuk commentedon Jul 18, 2026
Since it's more than 2 weeks for 3.3.1 - I think it's worth fixing it in relased image and announcement in users@ list
Fix downgraded databricks provider on py3.11/py3.12 in 3.3.0 constraints
potiuk commentedon Jul 19, 2026
The databricks provider downgrade on the Airflow 3.3.0 constraints for Python 3.11 and 3.12 has been fixed.
Root cause: the constraints pinned
thrift==0.23.0, which conflicts withdatabricks-sql-connector4.x (thrift<0.21.0). During resolution the newer thrift was kept and the connector was downgraded to2.0.2, which in turn draggedapache-airflow-providers-databricksback to6.13.0(Oct 2024). Python 3.10/3.13/3.14 were unaffected.Fix — the Python 3.11 and 3.12 pins were brought in line with the other interpreters:
apache-airflow-providers-databricks6.13.0 → 7.16.1databricks-sql-connector2.0.2 → 4.2.5thrift0.23.0 → 0.16.0This was applied to both the
constraints-3.3.0tag and the rollingconstraints-3-3branch. The generator-side fix that prevents recurrence (pinningdatabricks-sql-connector>=4.0.0during constraint generation) is already onv3-3-test(#69871). The published 3.3.0 images are being refreshed with the corrected constraints.Drafted-by: Claude Code (Opus 4.8); reviewed by
potiukbefore postingpotiuk commentedon Jul 19, 2026
Release coming after we merge #70083 and apply it to 3-3-test
Document 3.3.0 image databricks constraint fix in Dockerfile changelog
Document 3.3.0 image databricks constraint fix in Dockerfile changelog (
potiuk commentedon Jul 19, 2026
Fixed. The
constraints-3.3.0tag and theconstraints-3-3branch now pinapache-airflow-providers-databricks7.16.1/databricks-sql-connector4.2.5/thrift0.16.0for Python 3.11 and 3.12 (matching the other interpreters), and the officialapache/airflow:3.3.0py3.11/3.12 Docker images have been rebuilt with the corrected constraints. The docker-stack changelog records the change. Closing as resolved.Drafted-by: Claude Code (Opus 4.8); reviewed by
potiukbefore postingDocument 3.3.0 image databricks constraint fix in Dockerfile changelog (
Flag missing conn-fields when hook-only files change in static checks (…
[v3-3-test] Flag missing conn-fields when hook-only files change in s…
[v3-3-test] Pin databricks-sql-connector>=4.0.0 in generated constrai…