Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/yandex/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dependencies = [
"apache-airflow>=2.11.0",
"yandexcloud>=0.308.0; python_version < '3.13'",
"yandex-query-client>=0.1.4; python_version < '3.13'",
"apache-airflow-providers-common-compat>=1.8.0",
"apache-airflow-providers-common-compat>=1.8.0", # use next version
]

# The optional dependencies should be modified in place in the generated file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
def provider_user_agent() -> str | None:
"""Construct User-Agent from Airflow core & provider package versions."""
from airflow import __version__ as airflow_version
from airflow.configuration import conf
from airflow.providers.common.compat.sdk import conf
from airflow.providers_manager import ProvidersManager

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_provider_user_agent():
user_agent_provider = f"{provider_name}/{provider.version}"
assert user_agent_provider in user_agent

from airflow.configuration import conf
from airflow.providers.common.compat.sdk import conf

user_agent_prefix = conf.get("yandex", "sdk_user_agent_prefix", fallback="")
assert user_agent_prefix in user_agent
Expand Down