This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 5c4f1abd854 Cap airbyte-api below 1.0.0 to unblock provider tests
(#69081)
5c4f1abd854 is described below
commit 5c4f1abd854da6d67562821b99bee722d749d1e0
Author: Shahar Epstein <[email protected]>
AuthorDate: Sat Jun 27 14:29:05 2026 +0300
Cap airbyte-api below 1.0.0 to unblock provider tests (#69081)
airbyte-api 1.0.0 (released 2026-06-23) rewrote the SDK on top of httpx
and now rejects any client that does not implement its HttpClient
protocol. The Airbyte hook passes a requests.Session for proxy support,
so every hook test errors out with "The provided client must implement
the HttpClient protocol." once 1.x is resolved.
Cap the dependency to the requests-based 0.x line to restore green CI
while the full httpx migration is carried out separately.
---
providers/airbyte/README.rst | 8 ++++----
providers/airbyte/docs/index.rst | 8 ++++----
providers/airbyte/pyproject.toml | 5 ++++-
uv.lock | 4 ++--
4 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/providers/airbyte/README.rst b/providers/airbyte/README.rst
index d250c212b34..9604613d00d 100644
--- a/providers/airbyte/README.rst
+++ b/providers/airbyte/README.rst
@@ -50,14 +50,14 @@ The package supports the following python versions:
3.10,3.11,3.12,3.13,3.14
Requirements
------------
-========================================== ==================
+========================================== ===================
PIP package Version required
-========================================== ==================
+========================================== ===================
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
-``airbyte-api`` ``>=0.52.0``
+``airbyte-api`` ``>=0.52.0,<1.0.0``
``requests`` ``>=2.32.0``
-========================================== ==================
+========================================== ===================
Cross provider package dependencies
-----------------------------------
diff --git a/providers/airbyte/docs/index.rst b/providers/airbyte/docs/index.rst
index c5c533bc957..4055f2b784f 100644
--- a/providers/airbyte/docs/index.rst
+++ b/providers/airbyte/docs/index.rst
@@ -96,14 +96,14 @@ Requirements
The minimum Apache Airflow version supported by this provider distribution is
``2.11.0``.
-========================================== ==================
+========================================== ===================
PIP package Version required
-========================================== ==================
+========================================== ===================
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
-``airbyte-api`` ``>=0.52.0``
+``airbyte-api`` ``>=0.52.0,<1.0.0``
``requests`` ``>=2.32.0``
-========================================== ==================
+========================================== ===================
Cross provider package dependencies
-----------------------------------
diff --git a/providers/airbyte/pyproject.toml b/providers/airbyte/pyproject.toml
index ca9ce963abb..31628dd5ebb 100644
--- a/providers/airbyte/pyproject.toml
+++ b/providers/airbyte/pyproject.toml
@@ -61,7 +61,10 @@ requires-python = ">=3.10"
dependencies = [
"apache-airflow>=2.11.0",
"apache-airflow-providers-common-compat>=1.12.0",
- "airbyte-api>=0.52.0",
+ # airbyte-api 1.0.0 migrated from requests to httpx; passing a
requests.Session
+ # as the client now fails its HttpClient protocol check. Cap until the
httpx
+ # migration lands; tracked at https://github.com/apache/airflow/pull/68882
+ "airbyte-api>=0.52.0,<1.0.0",
"requests>=2.32.0",
]
diff --git a/uv.lock b/uv.lock
index 3bd2a717630..cd569574def 100644
--- a/uv.lock
+++ b/uv.lock
@@ -2906,7 +2906,7 @@ docs = [
[package.metadata]
requires-dist = [
- { name = "airbyte-api", specifier = ">=0.52.0" },
+ { name = "airbyte-api", specifier = ">=0.52.0,<1.0.0" },
{ name = "apache-airflow", editable = "." },
{ name = "apache-airflow-providers-common-compat", editable =
"providers/common/compat" },
{ name = "requests", specifier = ">=2.32.0" },
@@ -6638,7 +6638,7 @@ docs = [
requires-dist = [
{ name = "apache-airflow", editable = "." },
{ name = "apache-airflow-providers-common-compat", editable =
"providers/common/compat" },
- { name = "openai", extras = ["datalib"], specifier = ">=1.66.0" },
+ { name = "openai", extras = ["datalib"], specifier = ">=2.37.0" },
]
[package.metadata.requires-dev]