apache-airflow-providers-zendesk 4.10.1rc1__tar.gz → 4.10.2rc1__tar.gz

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.
Files changed (29) hide show
  1. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/PKG-INFO +10 -8
  2. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/README.rst +5 -4
  3. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/changelog.rst +16 -0
  4. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/index.rst +3 -1
  5. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/provider.yaml +2 -1
  6. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/pyproject.toml +5 -4
  7. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/__init__.py +1 -1
  8. {apache_airflow_providers_zendesk-4.10.1rc1/tests/system → apache_airflow_providers_zendesk-4.10.2rc1/src/airflow/providers}/__init__.py +1 -1
  9. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/providers/zendesk/__init__.py +1 -1
  10. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/providers/zendesk/hooks/zendesk.py +1 -4
  11. apache_airflow_providers_zendesk-4.10.2rc1/src/airflow/providers/zendesk/version_compat.py +51 -0
  12. {apache_airflow_providers_zendesk-4.10.1rc1/tests/unit → apache_airflow_providers_zendesk-4.10.2rc1/tests/system}/__init__.py +1 -1
  13. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/system/zendesk/example_zendesk_custom_get.py +6 -1
  14. {apache_airflow_providers_zendesk-4.10.1rc1/src/airflow/providers → apache_airflow_providers_zendesk-4.10.2rc1/tests/unit}/__init__.py +1 -1
  15. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/.latest-doc-only-change.txt +0 -0
  16. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/commits.rst +0 -0
  17. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/conf.py +0 -0
  18. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/connections.rst +0 -0
  19. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/installing-providers-from-sources.rst +0 -0
  20. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/integration-logos/Zendesk.png +0 -0
  21. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/docs/security.rst +0 -0
  22. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/providers/zendesk/LICENSE +0 -0
  23. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/providers/zendesk/get_provider_info.py +0 -0
  24. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/src/airflow/providers/zendesk/hooks/__init__.py +0 -0
  25. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/conftest.py +0 -0
  26. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/system/zendesk/__init__.py +0 -0
  27. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/unit/zendesk/__init__.py +0 -0
  28. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/unit/zendesk/hooks/__init__.py +0 -0
  29. {apache_airflow_providers_zendesk-4.10.1rc1 → apache_airflow_providers_zendesk-4.10.2rc1}/tests/unit/zendesk/hooks/test_zendesk.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-zendesk
3
- Version: 4.10.1rc1
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: ~=3.10
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.1/changelog.html
26
- Project-URL: Documentation, https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.1
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.1``
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.1/>`_.
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.1/changelog.html>`_.
94
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/changelog.html>`_.
93
95
 
@@ -23,8 +23,9 @@
23
23
 
24
24
  Package ``apache-airflow-providers-zendesk``
25
25
 
26
- Release: ``4.10.1``
26
+ Release: ``4.10.2``
27
27
 
28
+ Release Date: ``|PypiReleaseDate|``
28
29
 
29
30
  `Zendesk <https://www.zendesk.com/>`__
30
31
 
@@ -36,7 +37,7 @@ This is a provider package for ``zendesk`` provider. All classes for this provid
36
37
  are in ``airflow.providers.zendesk`` python package.
37
38
 
38
39
  You can find package information and changelog for the provider
39
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.1/>`_.
40
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/>`_.
40
41
 
41
42
  Installation
42
43
  ------------
@@ -45,7 +46,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
45
46
  for the minimum Airflow version supported) via
46
47
  ``pip install apache-airflow-providers-zendesk``
47
48
 
48
- The package supports the following python versions: 3.10,3.11,3.12
49
+ The package supports the following python versions: 3.10,3.11,3.12,3.13
49
50
 
50
51
  Requirements
51
52
  ------------
@@ -58,4 +59,4 @@ PIP package Version required
58
59
  ================== ==================
59
60
 
60
61
  The changelog for the provider package can be found in the
61
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.1/changelog.html>`_.
62
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/changelog.html>`_.
@@ -27,6 +27,22 @@
27
27
  Changelog
28
28
  ---------
29
29
 
30
+ 4.10.2
31
+ ......
32
+
33
+ Misc
34
+ ~~~~
35
+
36
+ * ``Add Python 3.13 support for Airflow. (#46891)``
37
+ * ``Remove type ignore across codebase after mypy upgrade (#53243)``
38
+ * ``Remove upper-binding for "python-requires" (#52980)``
39
+ * ``Temporarily switch to use >=,< pattern instead of '~=' (#52967)``
40
+ * ``Move BaseHook to version_compat for zendesk (#52966)``
41
+
42
+ .. Below changes are excluded from the changelog. Move them to
43
+ appropriate section above if needed. Do not delete the lines(!):
44
+ * ``Deprecate decorators from Core (#53629)``
45
+
30
46
  4.10.1
31
47
  ......
32
48
 
@@ -76,7 +76,9 @@ apache-airflow-providers-zendesk package
76
76
  `Zendesk <https://www.zendesk.com/>`__
77
77
 
78
78
 
79
- Release: 4.10.1
79
+ Release: 4.10.2
80
+
81
+ Release Date: ``|PypiReleaseDate|``
80
82
 
81
83
  Provider package
82
84
  ----------------
@@ -22,12 +22,13 @@ description: |
22
22
  `Zendesk <https://www.zendesk.com/>`__
23
23
 
24
24
  state: ready
25
- source-date-epoch: 1751474676
25
+ source-date-epoch: 1753692116
26
26
  # Note that those versions are maintained by release manager - do not update them manually
27
27
  # with the exception of case where other provider in sources has >= new provider version.
28
28
  # In such case adding >= NEW_VERSION and bumping to NEW_VERSION in a provider have
29
29
  # to be done in the same PR
30
30
  versions:
31
+ - 4.10.2
31
32
  - 4.10.1
32
33
  - 4.10.0
33
34
  - 4.9.1
@@ -25,7 +25,7 @@ build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-zendesk"
28
- version = "4.10.1rc1"
28
+ version = "4.10.2rc1"
29
29
  description = "Provider package apache-airflow-providers-zendesk for Apache Airflow"
30
30
  readme = "README.rst"
31
31
  authors = [
@@ -47,9 +47,10 @@ classifiers = [
47
47
  "Programming Language :: Python :: 3.10",
48
48
  "Programming Language :: Python :: 3.11",
49
49
  "Programming Language :: Python :: 3.12",
50
+ "Programming Language :: Python :: 3.13",
50
51
  "Topic :: System :: Monitoring",
51
52
  ]
52
- requires-python = "~=3.10"
53
+ requires-python = ">=3.10"
53
54
 
54
55
  # The dependencies should be modified in place in the generated file.
55
56
  # Any change in the dependencies is preserved when the file is regenerated
@@ -94,8 +95,8 @@ apache-airflow-providers-common-sql = {workspace = true}
94
95
  apache-airflow-providers-standard = {workspace = true}
95
96
 
96
97
  [project.urls]
97
- "Documentation" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.1"
98
- "Changelog" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.1/changelog.html"
98
+ "Documentation" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.2"
99
+ "Changelog" = "https://airflow.staged.apache.org/docs/apache-airflow-providers-zendesk/4.10.2/changelog.html"
99
100
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
100
101
  "Source Code" = "https://github.com/apache/airflow"
101
102
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -14,4 +14,4 @@
14
14
  # KIND, either express or implied. See the License for the
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
- __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
17
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
@@ -14,4 +14,4 @@
14
14
  # KIND, either express or implied. See the License for the
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
- __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
17
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "4.10.1"
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
- try:
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
+ ]
@@ -14,4 +14,4 @@
14
14
  # KIND, either express or implied. See the License for the
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
- __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
17
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
@@ -20,7 +20,12 @@ import os
20
20
  from datetime import datetime
21
21
 
22
22
  from airflow import DAG
23
- from airflow.decorators import task
23
+
24
+ try:
25
+ from airflow.sdk import task
26
+ except ImportError:
27
+ # Airflow 2 path
28
+ from airflow.decorators import task # type: ignore[attr-defined,no-redef]
24
29
  from airflow.providers.zendesk.hooks.zendesk import ZendeskHook
25
30
 
26
31
  ENV_ID = os.environ.get("SYSTEM_TESTS_ENV_ID")
@@ -14,4 +14,4 @@
14
14
  # KIND, either express or implied. See the License for the
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
- __path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
17
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)