apache-airflow-providers-github 2.9.2__tar.gz → 2.9.3__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 (39) hide show
  1. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/PKG-INFO +34 -14
  2. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/README.rst +30 -11
  3. apache_airflow_providers_github-2.9.3/docs/.latest-doc-only-change.txt +1 -0
  4. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/changelog.rst +21 -0
  5. apache_airflow_providers_github-2.9.3/docs/index.rst +134 -0
  6. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/provider.yaml +2 -1
  7. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/pyproject.toml +6 -4
  8. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/__init__.py +1 -1
  9. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/hooks/github.py +1 -1
  10. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/operators/github.py +2 -2
  11. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/sensors/github.py +2 -2
  12. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/version_compat.py +1 -22
  13. apache_airflow_providers_github-2.9.2/docs/.latest-doc-only-change.txt +0 -1
  14. apache_airflow_providers_github-2.9.2/docs/index.rst +0 -107
  15. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/commits.rst +0 -0
  16. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/conf.py +0 -0
  17. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/connections/github.rst +0 -0
  18. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/installing-providers-from-sources.rst +0 -0
  19. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/operators/index.rst +0 -0
  20. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/docs/security.rst +0 -0
  21. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/__init__.py +0 -0
  22. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/__init__.py +0 -0
  23. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/LICENSE +0 -0
  24. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/get_provider_info.py +0 -0
  25. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/hooks/__init__.py +0 -0
  26. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/operators/__init__.py +0 -0
  27. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/src/airflow/providers/github/sensors/__init__.py +0 -0
  28. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/conftest.py +0 -0
  29. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/system/__init__.py +0 -0
  30. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/system/github/__init__.py +0 -0
  31. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/system/github/example_github.py +0 -0
  32. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/__init__.py +0 -0
  33. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/__init__.py +0 -0
  34. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/hooks/__init__.py +0 -0
  35. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/hooks/test_github.py +0 -0
  36. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/operators/__init__.py +0 -0
  37. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/operators/test_github.py +0 -0
  38. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/sensors/__init__.py +0 -0
  39. {apache_airflow_providers_github-2.9.2 → apache_airflow_providers_github-2.9.3}/tests/unit/github/sensors/test_github.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: apache-airflow-providers-github
3
- Version: 2.9.2
3
+ Version: 2.9.3
4
4
  Summary: Provider package apache-airflow-providers-github for Apache Airflow
5
5
  Keywords: airflow-provider,github,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -21,10 +21,11 @@ Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
22
  Classifier: Topic :: System :: Monitoring
23
23
  Requires-Dist: apache-airflow>=2.10.0
24
+ Requires-Dist: apache-airflow-providers-common-compat>=1.8.0
24
25
  Requires-Dist: PyGithub>=2.1.1
25
26
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
26
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/changelog.html
27
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2
27
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/changelog.html
28
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3
28
29
  Project-URL: Mastodon, https://fosstodon.org/@airflow
29
30
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
30
31
  Project-URL: Source Code, https://github.com/apache/airflow
@@ -55,9 +56,8 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
55
56
 
56
57
  Package ``apache-airflow-providers-github``
57
58
 
58
- Release: ``2.9.2``
59
+ Release: ``2.9.3``
59
60
 
60
- Release Date: ``|PypiReleaseDate|``
61
61
 
62
62
  `GitHub <https://www.github.com/>`__
63
63
 
@@ -69,12 +69,12 @@ This is a provider package for ``github`` provider. All classes for this provide
69
69
  are in ``airflow.providers.github`` python package.
70
70
 
71
71
  You can find package information and changelog for the provider
72
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/>`_.
72
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/>`_.
73
73
 
74
74
  Installation
75
75
  ------------
76
76
 
77
- You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
77
+ You can install this package on top of an existing Airflow installation (see ``Requirements`` below
78
78
  for the minimum Airflow version supported) via
79
79
  ``pip install apache-airflow-providers-github``
80
80
 
@@ -83,13 +83,33 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13
83
83
  Requirements
84
84
  ------------
85
85
 
86
- ================== ==================
87
- PIP package Version required
88
- ================== ==================
89
- ``apache-airflow`` ``>=2.10.0``
90
- ``PyGithub`` ``>=2.1.1``
91
- ================== ==================
86
+ ========================================== ==================
87
+ PIP package Version required
88
+ ========================================== ==================
89
+ ``apache-airflow`` ``>=2.10.0``
90
+ ``apache-airflow-providers-common-compat`` ``>=1.8.0``
91
+ ``PyGithub`` ``>=2.1.1``
92
+ ========================================== ==================
93
+
94
+ Cross provider package dependencies
95
+ -----------------------------------
96
+
97
+ Those are dependencies that might be needed in order to use all the features of the package.
98
+ You need to install the specified providers in order to use them.
99
+
100
+ You can install such cross-provider dependencies when installing from PyPI. For example:
101
+
102
+ .. code-block:: bash
103
+
104
+ pip install apache-airflow-providers-github[common.compat]
105
+
106
+
107
+ ================================================================================================================== =================
108
+ Dependent package Extra
109
+ ================================================================================================================== =================
110
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
111
+ ================================================================================================================== =================
92
112
 
93
113
  The changelog for the provider package can be found in the
94
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/changelog.html>`_.
114
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/changelog.html>`_.
95
115
 
@@ -23,9 +23,8 @@
23
23
 
24
24
  Package ``apache-airflow-providers-github``
25
25
 
26
- Release: ``2.9.2``
26
+ Release: ``2.9.3``
27
27
 
28
- Release Date: ``|PypiReleaseDate|``
29
28
 
30
29
  `GitHub <https://www.github.com/>`__
31
30
 
@@ -37,12 +36,12 @@ This is a provider package for ``github`` provider. All classes for this provide
37
36
  are in ``airflow.providers.github`` python package.
38
37
 
39
38
  You can find package information and changelog for the provider
40
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/>`_.
39
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/>`_.
41
40
 
42
41
  Installation
43
42
  ------------
44
43
 
45
- You can install this package on top of an existing Airflow 2 installation (see ``Requirements`` below
44
+ You can install this package on top of an existing Airflow installation (see ``Requirements`` below
46
45
  for the minimum Airflow version supported) via
47
46
  ``pip install apache-airflow-providers-github``
48
47
 
@@ -51,12 +50,32 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13
51
50
  Requirements
52
51
  ------------
53
52
 
54
- ================== ==================
55
- PIP package Version required
56
- ================== ==================
57
- ``apache-airflow`` ``>=2.10.0``
58
- ``PyGithub`` ``>=2.1.1``
59
- ================== ==================
53
+ ========================================== ==================
54
+ PIP package Version required
55
+ ========================================== ==================
56
+ ``apache-airflow`` ``>=2.10.0``
57
+ ``apache-airflow-providers-common-compat`` ``>=1.8.0``
58
+ ``PyGithub`` ``>=2.1.1``
59
+ ========================================== ==================
60
+
61
+ Cross provider package dependencies
62
+ -----------------------------------
63
+
64
+ Those are dependencies that might be needed in order to use all the features of the package.
65
+ You need to install the specified providers in order to use them.
66
+
67
+ You can install such cross-provider dependencies when installing from PyPI. For example:
68
+
69
+ .. code-block:: bash
70
+
71
+ pip install apache-airflow-providers-github[common.compat]
72
+
73
+
74
+ ================================================================================================================== =================
75
+ Dependent package Extra
76
+ ================================================================================================================== =================
77
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
78
+ ================================================================================================================== =================
60
79
 
61
80
  The changelog for the provider package can be found in the
62
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/changelog.html>`_.
81
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/changelog.html>`_.
@@ -0,0 +1 @@
1
+ 05960ac2ebb1fd9a74f3135e5e8fe5e28160d4b2
@@ -29,6 +29,27 @@
29
29
  Changelog
30
30
  ---------
31
31
 
32
+ 2.9.3
33
+ .....
34
+
35
+ Misc
36
+ ~~~~
37
+
38
+ * ``Migrate github provider to ''common.compat'' (#57009)``
39
+
40
+ Doc-only
41
+ ~~~~~~~~
42
+
43
+ * ``Remove placeholder Release Date in changelog and index files (#56056)``
44
+
45
+ .. Below changes are excluded from the changelog. Move them to
46
+ appropriate section above if needed. Do not delete the lines(!):
47
+ * ``Prepare release for Sep 2025 2nd wave of providers (#55688)``
48
+ * ``Prepare release for Sep 2025 1st wave of providers (#55203)``
49
+ * ``Fix Airflow 2 reference in README/index of providers (#55240)``
50
+ * ``Make term Dag consistent in providers docs (#55101)``
51
+ * ``Switch pre-commit to prek (#54258)``
52
+
32
53
  2.9.2
33
54
  .....
34
55
 
@@ -0,0 +1,134 @@
1
+
2
+ .. Licensed to the Apache Software Foundation (ASF) under one
3
+ or more contributor license agreements. See the NOTICE file
4
+ distributed with this work for additional information
5
+ regarding copyright ownership. The ASF licenses this file
6
+ to you under the Apache License, Version 2.0 (the
7
+ "License"); you may not use this file except in compliance
8
+ with the License. You may obtain a copy of the License at
9
+
10
+ .. http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ .. Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+
19
+ ``apache-airflow-providers-github``
20
+ =======================================
21
+
22
+
23
+ .. toctree::
24
+ :hidden:
25
+ :maxdepth: 1
26
+ :caption: Basics
27
+
28
+ Home <self>
29
+ Changelog <changelog>
30
+ Security <security>
31
+
32
+ .. toctree::
33
+ :hidden:
34
+ :maxdepth: 1
35
+ :caption: Guides
36
+
37
+ Connection types <connections/github>
38
+ Operators <operators/index>
39
+
40
+ .. toctree::
41
+ :hidden:
42
+ :maxdepth: 1
43
+ :caption: References
44
+
45
+ Python API <_api/airflow/providers/github/index>
46
+
47
+ .. toctree::
48
+ :hidden:
49
+ :maxdepth: 1
50
+ :caption: System tests
51
+
52
+ System Tests <_api/tests/system/github/index>
53
+
54
+ .. toctree::
55
+ :hidden:
56
+ :maxdepth: 1
57
+ :caption: Resources
58
+
59
+ Example Dags <https://github.com/apache/airflow/tree/providers-github/|version|/providers/github/tests/system/github>
60
+ PyPI Repository <https://pypi.org/project/apache-airflow-providers-github/>
61
+ Installing from sources <installing-providers-from-sources>
62
+
63
+ .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
64
+
65
+
66
+ .. toctree::
67
+ :hidden:
68
+ :maxdepth: 1
69
+ :caption: Commits
70
+
71
+ Detailed list of commits <commits>
72
+
73
+
74
+ apache-airflow-providers-github package
75
+ ------------------------------------------------------
76
+
77
+ `GitHub <https://www.github.com/>`__
78
+
79
+
80
+ Release: 2.9.3
81
+
82
+ Provider package
83
+ ----------------
84
+
85
+ This package is for the ``github`` provider.
86
+ All classes for this package are included in the ``airflow.providers.github`` python package.
87
+
88
+ Installation
89
+ ------------
90
+
91
+ You can install this package on top of an existing Airflow installation via
92
+ ``pip install apache-airflow-providers-github``.
93
+ For the minimum Airflow version supported, see ``Requirements`` below.
94
+
95
+ Requirements
96
+ ------------
97
+
98
+ The minimum Apache Airflow version supported by this provider distribution is ``2.10.0``.
99
+
100
+ ========================================== ==================
101
+ PIP package Version required
102
+ ========================================== ==================
103
+ ``apache-airflow`` ``>=2.10.0``
104
+ ``apache-airflow-providers-common-compat`` ``>=1.8.0``
105
+ ``PyGithub`` ``>=2.1.1``
106
+ ========================================== ==================
107
+
108
+ Cross provider package dependencies
109
+ -----------------------------------
110
+
111
+ Those are dependencies that might be needed in order to use all the features of the package.
112
+ You need to install the specified provider distributions in order to use them.
113
+
114
+ You can install such cross-provider dependencies when installing from PyPI. For example:
115
+
116
+ .. code-block:: bash
117
+
118
+ pip install apache-airflow-providers-github[common.compat]
119
+
120
+
121
+ ================================================================================================================== =================
122
+ Dependent package Extra
123
+ ================================================================================================================== =================
124
+ `apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
125
+ ================================================================================================================== =================
126
+
127
+ Downloading official packages
128
+ -----------------------------
129
+
130
+ You can download officially released packages and verify their checksums and signatures from the
131
+ `Official Apache Download site <https://downloads.apache.org/airflow/providers/>`_
132
+
133
+ * `The apache-airflow-providers-github 2.9.3 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3.tar.gz.sha512>`__)
134
+ * `The apache-airflow-providers-github 2.9.3 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_github-2.9.3-py3-none-any.whl.sha512>`__)
@@ -23,12 +23,13 @@ description: |
23
23
  `GitHub <https://www.github.com/>`__
24
24
 
25
25
  state: ready
26
- source-date-epoch: 1753690746
26
+ source-date-epoch: 1761116768
27
27
  # Note that those versions are maintained by release manager - do not update them manually
28
28
  # with the exception of case where other provider in sources has >= new provider version.
29
29
  # In such case adding >= NEW_VERSION and bumping to NEW_VERSION in a provider have
30
30
  # to be done in the same PR
31
31
  versions:
32
+ - 2.9.3
32
33
  - 2.9.2
33
34
  - 2.9.1
34
35
  - 2.9.0
@@ -25,7 +25,7 @@ build-backend = "flit_core.buildapi"
25
25
 
26
26
  [project]
27
27
  name = "apache-airflow-providers-github"
28
- version = "2.9.2"
28
+ version = "2.9.3"
29
29
  description = "Provider package apache-airflow-providers-github for Apache Airflow"
30
30
  readme = "README.rst"
31
31
  authors = [
@@ -54,10 +54,11 @@ requires-python = ">=3.10"
54
54
 
55
55
  # The dependencies should be modified in place in the generated file.
56
56
  # Any change in the dependencies is preserved when the file is regenerated
57
- # Make sure to run ``breeze static-checks --type update-providers-dependencies --all-files``
57
+ # Make sure to run ``prek update-providers-dependencies --all-files``
58
58
  # After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
59
59
  dependencies = [
60
60
  "apache-airflow>=2.10.0",
61
+ "apache-airflow-providers-common-compat>=1.8.0",
61
62
  "PyGithub>=2.1.1",
62
63
  ]
63
64
 
@@ -66,6 +67,7 @@ dev = [
66
67
  "apache-airflow",
67
68
  "apache-airflow-task-sdk",
68
69
  "apache-airflow-devel-common",
70
+ "apache-airflow-providers-common-compat",
69
71
  # Additional devel dependencies (do not remove this line and add extra development dependencies)
70
72
  ]
71
73
 
@@ -95,8 +97,8 @@ apache-airflow-providers-common-sql = {workspace = true}
95
97
  apache-airflow-providers-standard = {workspace = true}
96
98
 
97
99
  [project.urls]
98
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2"
99
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.2/changelog.html"
100
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3"
101
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-github/2.9.3/changelog.html"
100
102
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
101
103
  "Source Code" = "https://github.com/apache/airflow"
102
104
  "Slack Chat" = "https://s.apache.org/airflow-slack"
@@ -29,7 +29,7 @@ from airflow import __version__ as airflow_version
29
29
 
30
30
  __all__ = ["__version__"]
31
31
 
32
- __version__ = "2.9.2"
32
+ __version__ = "2.9.3"
33
33
 
34
34
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
35
35
  "2.10.0"
@@ -24,7 +24,7 @@ from typing import TYPE_CHECKING
24
24
  from github import Github as GithubClient
25
25
 
26
26
  from airflow.exceptions import AirflowException
27
- from airflow.providers.github.version_compat import BaseHook
27
+ from airflow.providers.common.compat.sdk import BaseHook
28
28
 
29
29
 
30
30
  class GithubHook(BaseHook):
@@ -23,11 +23,11 @@ from typing import TYPE_CHECKING, Any
23
23
  from github import GithubException
24
24
 
25
25
  from airflow.exceptions import AirflowException
26
+ from airflow.providers.common.compat.sdk import BaseOperator
26
27
  from airflow.providers.github.hooks.github import GithubHook
27
- from airflow.providers.github.version_compat import BaseOperator
28
28
 
29
29
  if TYPE_CHECKING:
30
- from airflow.providers.github.version_compat import Context
30
+ from airflow.providers.common.compat.sdk import Context
31
31
 
32
32
 
33
33
  class GithubOperator(BaseOperator):
@@ -23,11 +23,11 @@ from typing import TYPE_CHECKING, Any
23
23
  from github import GithubException
24
24
 
25
25
  from airflow.exceptions import AirflowException
26
+ from airflow.providers.common.compat.sdk import BaseSensorOperator
26
27
  from airflow.providers.github.hooks.github import GithubHook
27
- from airflow.providers.github.version_compat import BaseSensorOperator
28
28
 
29
29
  if TYPE_CHECKING:
30
- from airflow.providers.github.version_compat import Context
30
+ from airflow.providers.common.compat.sdk import Context
31
31
 
32
32
 
33
33
  class GithubSensor(BaseSensorOperator):
@@ -35,25 +35,4 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
35
35
  AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
36
36
  AIRFLOW_V_3_1_PLUS: bool = get_base_airflow_version_tuple() >= (3, 1, 0)
37
37
 
38
- if AIRFLOW_V_3_1_PLUS:
39
- from airflow.sdk import BaseHook
40
- else:
41
- from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
42
-
43
- if AIRFLOW_V_3_0_PLUS:
44
- from airflow.sdk import BaseOperator, BaseSensorOperator
45
- from airflow.sdk.definitions.context import Context
46
- else:
47
- from airflow.models import BaseOperator
48
- from airflow.sensors.base import BaseSensorOperator # type: ignore[no-redef]
49
- from airflow.utils.context import Context
50
-
51
-
52
- __all__ = [
53
- "AIRFLOW_V_3_0_PLUS",
54
- "AIRFLOW_V_3_1_PLUS",
55
- "BaseHook",
56
- "BaseOperator",
57
- "BaseSensorOperator",
58
- "Context",
59
- ]
38
+ __all__ = ["AIRFLOW_V_3_0_PLUS", "AIRFLOW_V_3_1_PLUS"]
@@ -1 +0,0 @@
1
- 7b2ec33c7ad4998d9c9735b79593fcdcd3b9dd1f
@@ -1,107 +0,0 @@
1
-
2
- .. Licensed to the Apache Software Foundation (ASF) under one
3
- or more contributor license agreements. See the NOTICE file
4
- distributed with this work for additional information
5
- regarding copyright ownership. The ASF licenses this file
6
- to you under the Apache License, Version 2.0 (the
7
- "License"); you may not use this file except in compliance
8
- with the License. You may obtain a copy of the License at
9
-
10
- .. http://www.apache.org/licenses/LICENSE-2.0
11
-
12
- .. Unless required by applicable law or agreed to in writing,
13
- software distributed under the License is distributed on an
14
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
- KIND, either express or implied. See the License for the
16
- specific language governing permissions and limitations
17
- under the License.
18
-
19
- ``apache-airflow-providers-github``
20
- =======================================
21
-
22
-
23
- .. toctree::
24
- :hidden:
25
- :maxdepth: 1
26
- :caption: Basics
27
-
28
- Home <self>
29
- Changelog <changelog>
30
- Security <security>
31
-
32
- .. toctree::
33
- :hidden:
34
- :maxdepth: 1
35
- :caption: Guides
36
-
37
- Connection types <connections/github>
38
- Operators <operators/index>
39
-
40
- .. toctree::
41
- :hidden:
42
- :maxdepth: 1
43
- :caption: References
44
-
45
- Python API <_api/airflow/providers/github/index>
46
-
47
- .. toctree::
48
- :hidden:
49
- :maxdepth: 1
50
- :caption: System tests
51
-
52
- System Tests <_api/tests/system/github/index>
53
-
54
- .. toctree::
55
- :hidden:
56
- :maxdepth: 1
57
- :caption: Resources
58
-
59
- Example DAGs <https://github.com/apache/airflow/tree/providers-github/|version|/providers/github/tests/system/github>
60
- PyPI Repository <https://pypi.org/project/apache-airflow-providers-github/>
61
- Installing from sources <installing-providers-from-sources>
62
-
63
- .. THE REMAINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!
64
-
65
-
66
- .. toctree::
67
- :hidden:
68
- :maxdepth: 1
69
- :caption: Commits
70
-
71
- Detailed list of commits <commits>
72
-
73
-
74
- apache-airflow-providers-github package
75
- ------------------------------------------------------
76
-
77
- `GitHub <https://www.github.com/>`__
78
-
79
-
80
- Release: 2.9.2
81
-
82
- Release Date: ``|PypiReleaseDate|``
83
-
84
- Provider package
85
- ----------------
86
-
87
- This package is for the ``github`` provider.
88
- All classes for this package are included in the ``airflow.providers.github`` python package.
89
-
90
- Installation
91
- ------------
92
-
93
- You can install this package on top of an existing Airflow 2 installation via
94
- ``pip install apache-airflow-providers-github``.
95
- For the minimum Airflow version supported, see ``Requirements`` below.
96
-
97
- Requirements
98
- ------------
99
-
100
- The minimum Apache Airflow version supported by this provider distribution is ``2.10.0``.
101
-
102
- ================== ==================
103
- PIP package Version required
104
- ================== ==================
105
- ``apache-airflow`` ``>=2.10.0``
106
- ``PyGithub`` ``>=2.1.1``
107
- ================== ==================