diff --git a/generated/provider_dependencies.json b/generated/provider_dependencies.json index 72e3a55e75561..98cbfdde671a9 100644 --- a/generated/provider_dependencies.json +++ b/generated/provider_dependencies.json @@ -1392,7 +1392,7 @@ "apache-airflow-providers-common-sql>=1.20.0", "apache-airflow>=2.9.0", "ydb-dbapi>=0.1.0", - "ydb>=3.18.8" + "ydb>=3.18.8, !=3.19.0" ], "devel-deps": [], "plugins": [], diff --git a/providers/ydb/README.rst b/providers/ydb/README.rst index acebde802cb3b..21da6ebdd55eb 100644 --- a/providers/ydb/README.rst +++ b/providers/ydb/README.rst @@ -50,14 +50,14 @@ The package supports the following python versions: 3.9,3.10,3.11,3.12 Requirements ------------ -======================================= ================== +======================================= ===================== PIP package Version required -======================================= ================== +======================================= ===================== ``apache-airflow`` ``>=2.9.0`` ``apache-airflow-providers-common-sql`` ``>=1.20.0`` -``ydb`` ``>=3.18.8`` +``ydb`` ``>=3.18.8,!=3.19.0`` ``ydb-dbapi`` ``>=0.1.0`` -======================================= ================== +======================================= ===================== Cross provider package dependencies ----------------------------------- diff --git a/providers/ydb/pyproject.toml b/providers/ydb/pyproject.toml index 598362d68a293..6a6b9de53668e 100644 --- a/providers/ydb/pyproject.toml +++ b/providers/ydb/pyproject.toml @@ -57,7 +57,13 @@ requires-python = "~=3.9" dependencies = [ "apache-airflow>=2.9.0", "apache-airflow-providers-common-sql>=1.20.0", - "ydb>=3.18.8", + # Ydb 3.19.0 depends on grpcio >= 1.68.1 but latest apache-beam depends on grpcio < 1.66.0 + # also while Ydb requires, it, it does not state it in their requirements, so we cannot add + # grpcio < 1.66 because it will not limit Ydb in any way + # Since using latest apache.beam is more important than latest ydb, we are limiting it until + # the issue https://github.com/apache/beam/issues/34081 or + # https://github.com/ydb-platform/ydb/issues/15087 are fixed + "ydb>=3.18.8, !=3.19.0", "ydb-dbapi>=0.1.0", ] diff --git a/providers/ydb/src/airflow/providers/ydb/get_provider_info.py b/providers/ydb/src/airflow/providers/ydb/get_provider_info.py index 7b43749a4148b..b1f5e9bc0c334 100644 --- a/providers/ydb/src/airflow/providers/ydb/get_provider_info.py +++ b/providers/ydb/src/airflow/providers/ydb/get_provider_info.py @@ -46,7 +46,7 @@ def get_provider_info(): "dependencies": [ "apache-airflow>=2.9.0", "apache-airflow-providers-common-sql>=1.20.0", - "ydb>=3.18.8", + "ydb>=3.18.8, !=3.19.0", "ydb-dbapi>=0.1.0", ], }