apache-airflow-providers-zendesk 4.10.1rc1__py3-none-any.whl → 4.10.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.
- airflow/providers/zendesk/__init__.py +1 -1
- airflow/providers/zendesk/hooks/zendesk.py +1 -4
- airflow/providers/zendesk/version_compat.py +51 -0
- {apache_airflow_providers_zendesk-4.10.1rc1.dist-info → apache_airflow_providers_zendesk-4.10.2rc1.dist-info}/METADATA +10 -8
- apache_airflow_providers_zendesk-4.10.2rc1.dist-info/RECORD +10 -0
- apache_airflow_providers_zendesk-4.10.1rc1.dist-info/RECORD +0 -9
- {apache_airflow_providers_zendesk-4.10.1rc1.dist-info → apache_airflow_providers_zendesk-4.10.2rc1.dist-info}/WHEEL +0 -0
- {apache_airflow_providers_zendesk-4.10.1rc1.dist-info → apache_airflow_providers_zendesk-4.10.2rc1.dist-info}/entry_points.txt +0 -0
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
|
|
29
29
|
|
30
30
|
__all__ = ["__version__"]
|
31
31
|
|
32
|
-
__version__ = "4.10.
|
32
|
+
__version__ = "4.10.2"
|
33
33
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
35
35
|
"2.10.0"
|
@@ -21,10 +21,7 @@ from typing import TYPE_CHECKING, Any
|
|
21
21
|
|
22
22
|
from zenpy import Zenpy
|
23
23
|
|
24
|
-
|
25
|
-
from airflow.sdk import BaseHook
|
26
|
-
except ImportError:
|
27
|
-
from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
|
24
|
+
from airflow.providers.zendesk.version_compat import BaseHook
|
28
25
|
|
29
26
|
if TYPE_CHECKING:
|
30
27
|
from zenpy.lib.api import BaseApi
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
+
# or more contributor license agreements. See the NOTICE file
|
3
|
+
# distributed with this work for additional information
|
4
|
+
# regarding copyright ownership. The ASF licenses this file
|
5
|
+
# to you under the Apache License, Version 2.0 (the
|
6
|
+
# "License"); you may not use this file except in compliance
|
7
|
+
# with the License. You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
17
|
+
|
18
|
+
from __future__ import annotations
|
19
|
+
|
20
|
+
|
21
|
+
def get_base_airflow_version_tuple() -> tuple[int, int, int]:
|
22
|
+
from packaging.version import Version
|
23
|
+
|
24
|
+
from airflow import __version__
|
25
|
+
|
26
|
+
airflow_version = Version(__version__)
|
27
|
+
return airflow_version.major, airflow_version.minor, airflow_version.micro
|
28
|
+
|
29
|
+
|
30
|
+
AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
|
31
|
+
AIRFLOW_V_3_1_PLUS: bool = get_base_airflow_version_tuple() >= (3, 1, 0)
|
32
|
+
|
33
|
+
|
34
|
+
if AIRFLOW_V_3_1_PLUS:
|
35
|
+
from airflow.sdk import BaseHook
|
36
|
+
else:
|
37
|
+
from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
|
38
|
+
|
39
|
+
|
40
|
+
if AIRFLOW_V_3_0_PLUS:
|
41
|
+
from airflow.sdk import BaseOperator
|
42
|
+
else:
|
43
|
+
from airflow.models import BaseOperator
|
44
|
+
|
45
|
+
|
46
|
+
__all__ = [
|
47
|
+
"AIRFLOW_V_3_0_PLUS",
|
48
|
+
"AIRFLOW_V_3_1_PLUS",
|
49
|
+
"BaseHook",
|
50
|
+
"BaseOperator",
|
51
|
+
]
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: apache-airflow-providers-zendesk
|
3
|
-
Version: 4.10.
|
3
|
+
Version: 4.10.2rc1
|
4
4
|
Summary: Provider package apache-airflow-providers-zendesk for Apache Airflow
|
5
5
|
Keywords: airflow-provider,zendesk,airflow,integration
|
6
6
|
Author-email: Apache Software Foundation <dev@airflow.apache.org>
|
7
7
|
Maintainer-email: Apache Software Foundation <dev@airflow.apache.org>
|
8
|
-
Requires-Python:
|
8
|
+
Requires-Python: >=3.10
|
9
9
|
Description-Content-Type: text/x-rst
|
10
10
|
Classifier: Development Status :: 5 - Production/Stable
|
11
11
|
Classifier: Environment :: Console
|
@@ -18,12 +18,13 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
21
22
|
Classifier: Topic :: System :: Monitoring
|
22
23
|
Requires-Dist: apache-airflow>=2.10.0rc1
|
23
24
|
Requires-Dist: zenpy>=2.0.40
|
24
25
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
25
|
-
Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.
|
26
|
-
Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.
|
26
|
+
Project-URL: Changelog, https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/changelog.html
|
27
|
+
Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.2
|
27
28
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
28
29
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
29
30
|
Project-URL: Source Code, https://github.com/apache/airflow
|
@@ -54,8 +55,9 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
|
|
54
55
|
|
55
56
|
Package ``apache-airflow-providers-zendesk``
|
56
57
|
|
57
|
-
Release: ``4.10.
|
58
|
+
Release: ``4.10.2``
|
58
59
|
|
60
|
+
Release Date: ``|PypiReleaseDate|``
|
59
61
|
|
60
62
|
`Zendesk <https://www.zendesk.com/>`__
|
61
63
|
|
@@ -67,7 +69,7 @@ This is a provider package for ``zendesk`` provider. All classes for this provid
|
|
67
69
|
are in ``airflow.providers.zendesk`` python package.
|
68
70
|
|
69
71
|
You can find package information and changelog for the provider
|
70
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.
|
72
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/>`_.
|
71
73
|
|
72
74
|
Installation
|
73
75
|
------------
|
@@ -76,7 +78,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
|
|
76
78
|
for the minimum Airflow version supported) via
|
77
79
|
``pip install apache-airflow-providers-zendesk``
|
78
80
|
|
79
|
-
The package supports the following python versions: 3.10,3.11,3.12
|
81
|
+
The package supports the following python versions: 3.10,3.11,3.12,3.13
|
80
82
|
|
81
83
|
Requirements
|
82
84
|
------------
|
@@ -89,5 +91,5 @@ PIP package Version required
|
|
89
91
|
================== ==================
|
90
92
|
|
91
93
|
The changelog for the provider package can be found in the
|
92
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.
|
94
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/changelog.html>`_.
|
93
95
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
airflow/providers/zendesk/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
2
|
+
airflow/providers/zendesk/__init__.py,sha256=d9gKrn0fucCAkc1n_N8u6ERXofAWIq-ShURStKdCcAA,1497
|
3
|
+
airflow/providers/zendesk/get_provider_info.py,sha256=tiXFxBArjJN1bX_waeTl6h7rJVWZ2HLv66hBQaIAT7I,1843
|
4
|
+
airflow/providers/zendesk/version_compat.py,sha256=ooCLh_-EeJ5uTQ9Z8fksuNA40zsOl5YK61ZorQc9EHs,1600
|
5
|
+
airflow/providers/zendesk/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
6
|
+
airflow/providers/zendesk/hooks/zendesk.py,sha256=OaHfBeviaLzeYSWLhPDaRZqFWKTIGOrgSsdcHHWT3uQ,4949
|
7
|
+
apache_airflow_providers_zendesk-4.10.2rc1.dist-info/entry_points.txt,sha256=g-reNvSxl2TqOKMKUrK2cuRy9cpsNLeHfmGh5w0nVCg,103
|
8
|
+
apache_airflow_providers_zendesk-4.10.2rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
9
|
+
apache_airflow_providers_zendesk-4.10.2rc1.dist-info/METADATA,sha256=AsWRN5aWMTnCTEv4zicm5zIsSNZUkdzi0uA3IeTFJbI,3917
|
10
|
+
apache_airflow_providers_zendesk-4.10.2rc1.dist-info/RECORD,,
|
@@ -1,9 +0,0 @@
|
|
1
|
-
airflow/providers/zendesk/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
|
2
|
-
airflow/providers/zendesk/__init__.py,sha256=k9mx3CCw2_SPpPq_qoS92P-v-RkiAc3ejhDHINurZnU,1497
|
3
|
-
airflow/providers/zendesk/get_provider_info.py,sha256=tiXFxBArjJN1bX_waeTl6h7rJVWZ2HLv66hBQaIAT7I,1843
|
4
|
-
airflow/providers/zendesk/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
|
5
|
-
airflow/providers/zendesk/hooks/zendesk.py,sha256=4UKOdwCRGKUS5L-sy6OWAEgQGgzMXcM1Kgq9hWau2Tw,5032
|
6
|
-
apache_airflow_providers_zendesk-4.10.1rc1.dist-info/entry_points.txt,sha256=g-reNvSxl2TqOKMKUrK2cuRy9cpsNLeHfmGh5w0nVCg,103
|
7
|
-
apache_airflow_providers_zendesk-4.10.1rc1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
8
|
-
apache_airflow_providers_zendesk-4.10.1rc1.dist-info/METADATA,sha256=xBd92LxuCvEmCXDEOwQnAauBxNz7yRy6PAbF49DV0zI,3825
|
9
|
-
apache_airflow_providers_zendesk-4.10.1rc1.dist-info/RECORD,,
|
File without changes
|