From d0f2101acad701c2e3b8ca3e791d15ff86bef386 Mon Sep 17 00:00:00 2001 From: Elad Kalif <45845474+eladkal@users.noreply.github.com> Date: Wed, 4 Feb 2026 22:17:23 +0200 Subject: [PATCH] Support Python 3.13 in ydb provider --- dev/breeze/tests/test_selective_checks.py | 2 +- providers/ydb/docs/index.rst | 12 ++++++------ providers/ydb/provider.yaml | 3 --- providers/ydb/pyproject.toml | 9 +++++---- pyproject.toml | 4 ++-- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/dev/breeze/tests/test_selective_checks.py b/dev/breeze/tests/test_selective_checks.py index 7a0b7d8398c1a..dd3a831aba28b 100644 --- a/dev/breeze/tests/test_selective_checks.py +++ b/dev/breeze/tests/test_selective_checks.py @@ -1321,7 +1321,7 @@ def test_excluded_providers(): { "excluded-providers-as-string": json.dumps( { - "3.13": ["apache.beam", "fab", "ydb"], + "3.13": ["apache.beam", "fab"], } ), }, diff --git a/providers/ydb/docs/index.rst b/providers/ydb/docs/index.rst index b71ce610a93e0..9aa9105bb37c3 100644 --- a/providers/ydb/docs/index.rst +++ b/providers/ydb/docs/index.rst @@ -97,15 +97,15 @@ 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.10.1`` -``apache-airflow-providers-common-sql`` ``>=1.20.0; python_version < "3.13"`` -``ydb`` ``>=3.18.8; python_version < "3.13"`` -``ydb-dbapi`` ``>=0.1.0; python_version < "3.13"`` -========================================== ===================================== +``apache-airflow-providers-common-sql`` ``>=1.20.0`` +``ydb`` ``>=3.18.8`` +``ydb-dbapi`` ``>=0.1.0`` +========================================== ================== Cross provider package dependencies ----------------------------------- diff --git a/providers/ydb/provider.yaml b/providers/ydb/provider.yaml index 604ed5ffa6570..8ddc3022347a2 100644 --- a/providers/ydb/provider.yaml +++ b/providers/ydb/provider.yaml @@ -44,9 +44,6 @@ versions: - 1.1.0 - 1.0.0 -excluded-python-versions: - - "3.13" - integrations: - integration-name: YDB external-doc-url: https://ydb.tech/docs/en/ diff --git a/providers/ydb/pyproject.toml b/providers/ydb/pyproject.toml index 624d868daa1ed..f6122adadffa3 100644 --- a/providers/ydb/pyproject.toml +++ b/providers/ydb/pyproject.toml @@ -48,9 +48,10 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: System :: Monitoring", ] -requires-python = ">=3.10,!=3.13" +requires-python = ">=3.10" # The dependencies should be modified in place in the generated file. # Any change in the dependencies is preserved when the file is regenerated @@ -59,9 +60,9 @@ requires-python = ">=3.10,!=3.13" dependencies = [ "apache-airflow>=2.11.0", "apache-airflow-providers-common-compat>=1.10.1", - "apache-airflow-providers-common-sql>=1.20.0; python_version < '3.13'", - "ydb>=3.18.8; python_version < '3.13'", - "ydb-dbapi>=0.1.0; python_version < '3.13'", + "apache-airflow-providers-common-sql>=1.20.0", + "ydb>=3.18.8", + "ydb-dbapi>=0.1.0", ] [dependency-groups] diff --git a/pyproject.toml b/pyproject.toml index d1758612ce92f..d6d7f2e936d43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -382,7 +382,7 @@ packages = [] "apache-airflow-providers-yandex>=4.0.0" ] "ydb" = [ - "apache-airflow-providers-ydb>=1.4.0; python_version !=\"3.13\"" + "apache-airflow-providers-ydb>=1.4.0" ] "zendesk" = [ "apache-airflow-providers-zendesk>=4.9.0" @@ -485,7 +485,7 @@ packages = [] "apache-airflow-providers-vertica>=3.9.1", "apache-airflow-providers-weaviate>=3.0.0", "apache-airflow-providers-yandex>=4.0.0", - "apache-airflow-providers-ydb>=1.4.0; python_version !=\"3.13\"", + "apache-airflow-providers-ydb>=1.4.0", "apache-airflow-providers-zendesk>=4.9.0", ] # End of automatically generated airflow optional dependencies