apache-airflow-providers-yandex 4.0.1rc1__py3-none-any.whl → 4.0.2rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "4.0.1"
32
+ __version__ = "4.0.2"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.9.0"
@@ -27,8 +27,9 @@ def get_provider_info():
27
27
  "name": "Yandex",
28
28
  "description": "This package is for Yandex, including:\n\n - `Yandex.Cloud <https://cloud.yandex.com/>`__\n",
29
29
  "state": "ready",
30
- "source-date-epoch": 1739964637,
30
+ "source-date-epoch": 1741510019,
31
31
  "versions": [
32
+ "4.0.2",
32
33
  "4.0.1",
33
34
  "4.0.0",
34
35
  "3.12.0",
@@ -119,4 +120,6 @@ def get_provider_info():
119
120
  }
120
121
  },
121
122
  "dependencies": ["apache-airflow>=2.9.0", "yandexcloud>=0.308.0", "yandex-query-client>=0.1.4"],
123
+ "optional-dependencies": {"common.compat": ["apache-airflow-providers-common-compat"]},
124
+ "devel-dependencies": [],
122
125
  }
@@ -18,7 +18,7 @@ from __future__ import annotations
18
18
 
19
19
  from typing import TYPE_CHECKING
20
20
 
21
- from airflow.models import BaseOperatorLink, XCom
21
+ from airflow.models import XCom
22
22
 
23
23
  if TYPE_CHECKING:
24
24
  from airflow.models import BaseOperator
@@ -30,6 +30,13 @@ if TYPE_CHECKING:
30
30
  # TODO: Remove once provider drops support for Airflow 2
31
31
  from airflow.utils.context import Context
32
32
 
33
+ from airflow.providers.common.compat.version_compat import AIRFLOW_V_3_0_PLUS
34
+
35
+ if AIRFLOW_V_3_0_PLUS:
36
+ from airflow.sdk import BaseOperatorLink
37
+ else:
38
+ from airflow.models.baseoperatorlink import BaseOperatorLink # type: ignore[no-redef]
39
+
33
40
  XCOM_WEBLINK_KEY = "web_link"
34
41
 
35
42
 
@@ -21,14 +21,14 @@ from __future__ import annotations
21
21
  from functools import cached_property
22
22
  from typing import Any
23
23
 
24
- import yandexcloud
25
-
26
24
  import yandex.cloud.lockbox.v1.payload_pb2 as payload_pb
27
25
  import yandex.cloud.lockbox.v1.payload_service_pb2 as payload_service_pb
28
26
  import yandex.cloud.lockbox.v1.payload_service_pb2_grpc as payload_service_pb_grpc
29
27
  import yandex.cloud.lockbox.v1.secret_pb2 as secret_pb
30
28
  import yandex.cloud.lockbox.v1.secret_service_pb2 as secret_service_pb
31
29
  import yandex.cloud.lockbox.v1.secret_service_pb2_grpc as secret_service_pb_grpc
30
+ import yandexcloud
31
+
32
32
  from airflow.models import Connection
33
33
  from airflow.providers.yandex.utils.credentials import get_credentials
34
34
  from airflow.providers.yandex.utils.defaults import default_conn_name
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-yandex
3
- Version: 4.0.1rc1
3
+ Version: 4.0.2rc1
4
4
  Summary: Provider package apache-airflow-providers-yandex for Apache Airflow
5
5
  Keywords: airflow-provider,yandex,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -23,41 +23,42 @@ Classifier: Topic :: System :: Monitoring
23
23
  Requires-Dist: apache-airflow>=2.9.0rc0
24
24
  Requires-Dist: yandexcloud>=0.308.0
25
25
  Requires-Dist: yandex-query-client>=0.1.4
26
+ Requires-Dist: apache-airflow-providers-common-compat ; extra == "common-compat"
26
27
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
27
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html
28
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1
28
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.2/changelog.html
29
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.2
29
30
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
30
31
  Project-URL: Source Code, https://github.com/apache/airflow
31
32
  Project-URL: Twitter, https://x.com/ApacheAirflow
32
33
  Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
34
+ Provides-Extra: common-compat
33
35
 
34
36
 
35
- .. Licensed to the Apache Software Foundation (ASF) under one
36
- or more contributor license agreements. See the NOTICE file
37
- distributed with this work for additional information
38
- regarding copyright ownership. The ASF licenses this file
39
- to you under the Apache License, Version 2.0 (the
40
- "License"); you may not use this file except in compliance
41
- with the License. You may obtain a copy of the License at
37
+ .. Licensed to the Apache Software Foundation (ASF) under one
38
+ or more contributor license agreements. See the NOTICE file
39
+ distributed with this work for additional information
40
+ regarding copyright ownership. The ASF licenses this file
41
+ to you under the Apache License, Version 2.0 (the
42
+ "License"); you may not use this file except in compliance
43
+ with the License. You may obtain a copy of the License at
42
44
 
43
- .. http://www.apache.org/licenses/LICENSE-2.0
45
+ .. http://www.apache.org/licenses/LICENSE-2.0
44
46
 
45
- .. Unless required by applicable law or agreed to in writing,
46
- software distributed under the License is distributed on an
47
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
48
- KIND, either express or implied. See the License for the
49
- specific language governing permissions and limitations
50
- under the License.
47
+ .. Unless required by applicable law or agreed to in writing,
48
+ software distributed under the License is distributed on an
49
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
50
+ KIND, either express or implied. See the License for the
51
+ specific language governing permissions and limitations
52
+ under the License.
51
53
 
52
- .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
53
-
54
- .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
55
- `PROVIDER_README_TEMPLATE.rst.jinja2` IN the `dev/breeze/src/airflow_breeze/templates` DIRECTORY
54
+ .. NOTE! THIS FILE IS AUTOMATICALLY GENERATED AND WILL BE OVERWRITTEN!
56
55
 
56
+ .. IF YOU WANT TO MODIFY TEMPLATE FOR THIS FILE, YOU SHOULD MODIFY THE TEMPLATE
57
+ ``PROVIDER_README_TEMPLATE.rst.jinja2`` IN the ``dev/breeze/src/airflow_breeze/templates`` DIRECTORY
57
58
 
58
59
  Package ``apache-airflow-providers-yandex``
59
60
 
60
- Release: ``4.0.1``
61
+ Release: ``4.0.2``
61
62
 
62
63
 
63
64
  This package is for Yandex, including:
@@ -72,7 +73,7 @@ This is a provider package for ``yandex`` provider. All classes for this provide
72
73
  are in ``airflow.providers.yandex`` python package.
73
74
 
74
75
  You can find package information and changelog for the provider
75
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/>`_.
76
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.2/>`_.
76
77
 
77
78
  Installation
78
79
  ------------
@@ -94,6 +95,25 @@ PIP package Version required
94
95
  ``yandex-query-client`` ``>=0.1.4``
95
96
  ======================= ==================
96
97
 
98
+ Cross provider package dependencies
99
+ -----------------------------------
100
+
101
+ Those are dependencies that might be needed in order to use all the features of the package.
102
+ You need to install the specified provider packages in order to use them.
103
+
104
+ You can install such cross-provider dependencies when installing from PyPI. For example:
105
+
106
+ .. code-block:: bash
107
+
108
+ pip install apache-airflow-providers-yandex[common.compat]
109
+
110
+
111
+ ================================================================================================================== =================
112
+ Dependent package Extra
113
+ ================================================================================================================== =================
114
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
115
+ ================================================================================================================== =================
116
+
97
117
  The changelog for the provider package can be found in the
98
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.1/changelog.html>`_.
118
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-yandex/4.0.2/changelog.html>`_.
99
119
 
@@ -1,23 +1,23 @@
1
1
  airflow/providers/yandex/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
2
- airflow/providers/yandex/__init__.py,sha256=kcKjTAokObszuctCH-h0PJKWn9pFzDPmTL8QS0iwzIQ,1493
3
- airflow/providers/yandex/get_provider_info.py,sha256=3wtr6bdyWRTUz2aZZI6c34Lzs5HNb9ihgVVOqEiGaas,4771
2
+ airflow/providers/yandex/__init__.py,sha256=-Jvg6rVenxLg5Y5xMiThCeYj1p78ifTAiOoeqhyVp6E,1493
3
+ airflow/providers/yandex/get_provider_info.py,sha256=5TcUoUJnFoqvGoIElD5O6gdMB3RCldaYwqmNjQ3v3jI,4922
4
4
  airflow/providers/yandex/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
5
  airflow/providers/yandex/hooks/dataproc.py,sha256=8ykGvlZUAjAKHpypiOYcWVJk7u-WNjfEohuyOy1Okss,1944
6
6
  airflow/providers/yandex/hooks/yandex.py,sha256=9zca0C_qNH9BOpz8HyLruz5P30rt-x1YvlYXbUCIqDI,6434
7
7
  airflow/providers/yandex/hooks/yq.py,sha256=Qh1ZTp8OVKvQ6sFzmKUMe3kbkYT5v7D4qEq6VsKtB2k,3503
8
8
  airflow/providers/yandex/links/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
9
- airflow/providers/yandex/links/yq.py,sha256=qYWE8jxUpzH2kFCOtjUv4Mk-8wOV2Ns_3J1iiXJ9sNY,1741
9
+ airflow/providers/yandex/links/yq.py,sha256=hkQ5iDaBbFtGNrb9vTn7fblvIlhIY-cBppX9FxZxVQg,1968
10
10
  airflow/providers/yandex/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
11
11
  airflow/providers/yandex/operators/dataproc.py,sha256=Ir9RPYT0jYeFof2SlFG0kaLgYXrr7axltoMB5MlC1wY,25816
12
12
  airflow/providers/yandex/operators/yq.py,sha256=1MxiWDG2fAZ3Rw82vLEHsmvjNQcZsO00ujt135RsEA0,3412
13
13
  airflow/providers/yandex/secrets/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
14
- airflow/providers/yandex/secrets/lockbox.py,sha256=o0Rtl3ZkyRSIcJY07ZuWkdla--inxrXr2Zmr0mxYlYQ,12168
14
+ airflow/providers/yandex/secrets/lockbox.py,sha256=gUYWJE2qEvAZRz35qv0iKYK33BGnWesahZFuQgK5_kM,12168
15
15
  airflow/providers/yandex/utils/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
16
16
  airflow/providers/yandex/utils/credentials.py,sha256=l-8lIkQaIXTsNP_hMfP_tVADM54ZdV70J4563Ig7r4M,3487
17
17
  airflow/providers/yandex/utils/defaults.py,sha256=CXt75MhGJe8echoDpl1vR4VG5bEvYDDjIHmFqckDh2w,950
18
18
  airflow/providers/yandex/utils/fields.py,sha256=1D8SDWH8h0djj5Hnk50w6BpPeNJyP-689Qfjpkr-yCg,1728
19
19
  airflow/providers/yandex/utils/user_agent.py,sha256=AC-WEzhjxkgUYOy4LdX2-nnUZdMhKRRUCJ2_TjfNm6k,1839
20
- apache_airflow_providers_yandex-4.0.1rc1.dist-info/entry_points.txt,sha256=ApXKRkvdgU2QNSQovjewC0b-LptwfBGBnJB3LTgBNx8,102
21
- apache_airflow_providers_yandex-4.0.1rc1.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
22
- apache_airflow_providers_yandex-4.0.1rc1.dist-info/METADATA,sha256=3Asj3Kj_a5v9VTOrJmYcGF7vDGGs39BUHXmiWi2fzFc,4024
23
- apache_airflow_providers_yandex-4.0.1rc1.dist-info/RECORD,,
20
+ apache_airflow_providers_yandex-4.0.2rc1.dist-info/entry_points.txt,sha256=ApXKRkvdgU2QNSQovjewC0b-LptwfBGBnJB3LTgBNx8,102
21
+ apache_airflow_providers_yandex-4.0.2rc1.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
22
+ apache_airflow_providers_yandex-4.0.2rc1.dist-info/METADATA,sha256=ZRxwmKY66BLIT3oofejLE5hOo7SNivs0W2iPFJBI2AM,5198
23
+ apache_airflow_providers_yandex-4.0.2rc1.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.10.1
2
+ Generator: flit 3.11.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any