apache-airflow-providers-hashicorp 4.3.2__tar.gz → 4.4.2__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.
- apache_airflow_providers_hashicorp-4.4.2/NOTICE +5 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/PKG-INFO +37 -23
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/README.rst +28 -17
- apache_airflow_providers_hashicorp-4.4.2/docs/.latest-doc-only-change.txt +1 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/changelog.rst +76 -1
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/index.rst +19 -19
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/secrets-backends/hashicorp-vault.rst +1 -1
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/provider.yaml +6 -1
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/pyproject.toml +10 -7
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/__init__.py +3 -3
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/hooks/vault.py +1 -1
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/secrets/vault.py +3 -2
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/version_compat.py +1 -6
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/hooks/test_vault.py +4 -4
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/secrets/test_vault.py +1 -1
- apache_airflow_providers_hashicorp-4.3.2/docs/.latest-doc-only-change.txt +0 -1
- {apache_airflow_providers_hashicorp-4.3.2/src/airflow/providers/hashicorp → apache_airflow_providers_hashicorp-4.4.2}/LICENSE +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/commits.rst +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/conf.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/connections/vault.rst +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/installing-providers-from-sources.rst +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/integration-logos/Hashicorp-Vault.png +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/redirects.txt +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/security.rst +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/_internal_client/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/_internal_client/vault_client.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/get_provider_info.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/hooks/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/src/airflow/providers/hashicorp/secrets/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/conftest.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/_internal_client/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/_internal_client/test_vault_client.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/hooks/__init__.py +0 -0
- {apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/tests/unit/hashicorp/secrets/__init__.py +0 -0
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/PKG-INFO
RENAMED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: apache-airflow-providers-hashicorp
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.4.2
|
|
4
4
|
Summary: Provider package apache-airflow-providers-hashicorp for Apache Airflow
|
|
5
5
|
Keywords: airflow-provider,hashicorp,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
8
|
Requires-Python: >=3.10
|
|
9
9
|
Description-Content-Type: text/x-rst
|
|
10
|
+
License-Expression: Apache-2.0
|
|
10
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
11
12
|
Classifier: Environment :: Console
|
|
12
13
|
Classifier: Environment :: Web Environment
|
|
@@ -14,19 +15,21 @@ Classifier: Intended Audience :: Developers
|
|
|
14
15
|
Classifier: Intended Audience :: System Administrators
|
|
15
16
|
Classifier: Framework :: Apache Airflow
|
|
16
17
|
Classifier: Framework :: Apache Airflow :: Provider
|
|
17
|
-
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
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
22
|
Classifier: Topic :: System :: Monitoring
|
|
23
|
-
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: NOTICE
|
|
25
|
+
Requires-Dist: apache-airflow>=2.11.0
|
|
26
|
+
Requires-Dist: apache-airflow-providers-common-compat>=1.8.0
|
|
24
27
|
Requires-Dist: hvac>=1.1.0
|
|
25
|
-
Requires-Dist: boto3>=1.
|
|
28
|
+
Requires-Dist: boto3>=1.37.2 ; extra == "boto3"
|
|
26
29
|
Requires-Dist: apache-airflow-providers-google ; extra == "google"
|
|
27
30
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
28
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
29
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
31
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html
|
|
32
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2
|
|
30
33
|
Project-URL: Mastodon, https://fosstodon.org/@airflow
|
|
31
34
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
32
35
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
@@ -59,9 +62,8 @@ Provides-Extra: google
|
|
|
59
62
|
|
|
60
63
|
Package ``apache-airflow-providers-hashicorp``
|
|
61
64
|
|
|
62
|
-
Release: ``4.
|
|
65
|
+
Release: ``4.4.2``
|
|
63
66
|
|
|
64
|
-
Release Date: ``|PypiReleaseDate|``
|
|
65
67
|
|
|
66
68
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
67
69
|
|
|
@@ -73,12 +75,12 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
73
75
|
are in ``airflow.providers.hashicorp`` python package.
|
|
74
76
|
|
|
75
77
|
You can find package information and changelog for the provider
|
|
76
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
78
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/>`_.
|
|
77
79
|
|
|
78
80
|
Installation
|
|
79
81
|
------------
|
|
80
82
|
|
|
81
|
-
You can install this package on top of an existing Airflow
|
|
83
|
+
You can install this package on top of an existing Airflow installation (see ``Requirements`` below
|
|
82
84
|
for the minimum Airflow version supported) via
|
|
83
85
|
``pip install apache-airflow-providers-hashicorp``
|
|
84
86
|
|
|
@@ -87,12 +89,13 @@ The package supports the following python versions: 3.10,3.11,3.12,3.13
|
|
|
87
89
|
Requirements
|
|
88
90
|
------------
|
|
89
91
|
|
|
90
|
-
|
|
91
|
-
PIP package
|
|
92
|
-
|
|
93
|
-
``apache-airflow``
|
|
94
|
-
``
|
|
95
|
-
|
|
92
|
+
========================================== ==================
|
|
93
|
+
PIP package Version required
|
|
94
|
+
========================================== ==================
|
|
95
|
+
``apache-airflow`` ``>=2.11.0``
|
|
96
|
+
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
97
|
+
``hvac`` ``>=1.1.0``
|
|
98
|
+
========================================== ==================
|
|
96
99
|
|
|
97
100
|
Cross provider package dependencies
|
|
98
101
|
-----------------------------------
|
|
@@ -104,15 +107,26 @@ You can install such cross-provider dependencies when installing from PyPI. For
|
|
|
104
107
|
|
|
105
108
|
.. code-block:: bash
|
|
106
109
|
|
|
107
|
-
pip install apache-airflow-providers-hashicorp[
|
|
110
|
+
pip install apache-airflow-providers-hashicorp[common.compat]
|
|
108
111
|
|
|
109
112
|
|
|
110
|
-
|
|
111
|
-
Dependent package
|
|
112
|
-
|
|
113
|
-
`apache-airflow-providers-
|
|
114
|
-
|
|
113
|
+
================================================================================================================== =================
|
|
114
|
+
Dependent package Extra
|
|
115
|
+
================================================================================================================== =================
|
|
116
|
+
`apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
|
|
117
|
+
`apache-airflow-providers-google <https://airflow.apache.org/docs/apache-airflow-providers-google>`_ ``google``
|
|
118
|
+
================================================================================================================== =================
|
|
119
|
+
|
|
120
|
+
Optional dependencies
|
|
121
|
+
----------------------
|
|
122
|
+
|
|
123
|
+
========== ===================================
|
|
124
|
+
Extra Dependencies
|
|
125
|
+
========== ===================================
|
|
126
|
+
``boto3`` ``boto3>=1.37.2``
|
|
127
|
+
``google`` ``apache-airflow-providers-google``
|
|
128
|
+
========== ===================================
|
|
115
129
|
|
|
116
130
|
The changelog for the provider package can be found in the
|
|
117
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
131
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html>`_.
|
|
118
132
|
|
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/README.rst
RENAMED
|
@@ -23,9 +23,8 @@
|
|
|
23
23
|
|
|
24
24
|
Package ``apache-airflow-providers-hashicorp``
|
|
25
25
|
|
|
26
|
-
Release: ``4.
|
|
26
|
+
Release: ``4.4.2``
|
|
27
27
|
|
|
28
|
-
Release Date: ``|PypiReleaseDate|``
|
|
29
28
|
|
|
30
29
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
31
30
|
|
|
@@ -37,12 +36,12 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
37
36
|
are in ``airflow.providers.hashicorp`` 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-hashicorp/4.
|
|
39
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/>`_.
|
|
41
40
|
|
|
42
41
|
Installation
|
|
43
42
|
------------
|
|
44
43
|
|
|
45
|
-
You can install this package on top of an existing Airflow
|
|
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-hashicorp``
|
|
48
47
|
|
|
@@ -51,12 +50,13 @@ 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
|
|
56
|
-
|
|
57
|
-
``apache-airflow``
|
|
58
|
-
``
|
|
59
|
-
|
|
53
|
+
========================================== ==================
|
|
54
|
+
PIP package Version required
|
|
55
|
+
========================================== ==================
|
|
56
|
+
``apache-airflow`` ``>=2.11.0``
|
|
57
|
+
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
58
|
+
``hvac`` ``>=1.1.0``
|
|
59
|
+
========================================== ==================
|
|
60
60
|
|
|
61
61
|
Cross provider package dependencies
|
|
62
62
|
-----------------------------------
|
|
@@ -68,14 +68,25 @@ You can install such cross-provider dependencies when installing from PyPI. For
|
|
|
68
68
|
|
|
69
69
|
.. code-block:: bash
|
|
70
70
|
|
|
71
|
-
pip install apache-airflow-providers-hashicorp[
|
|
71
|
+
pip install apache-airflow-providers-hashicorp[common.compat]
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
Dependent package
|
|
76
|
-
|
|
77
|
-
`apache-airflow-providers-
|
|
78
|
-
|
|
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
|
+
`apache-airflow-providers-google <https://airflow.apache.org/docs/apache-airflow-providers-google>`_ ``google``
|
|
79
|
+
================================================================================================================== =================
|
|
80
|
+
|
|
81
|
+
Optional dependencies
|
|
82
|
+
----------------------
|
|
83
|
+
|
|
84
|
+
========== ===================================
|
|
85
|
+
Extra Dependencies
|
|
86
|
+
========== ===================================
|
|
87
|
+
``boto3`` ``boto3>=1.37.2``
|
|
88
|
+
``google`` ``apache-airflow-providers-google``
|
|
89
|
+
========== ===================================
|
|
79
90
|
|
|
80
91
|
The changelog for the provider package can be found in the
|
|
81
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
92
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html>`_.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
05960ac2ebb1fd9a74f3135e5e8fe5e28160d4b2
|
|
@@ -27,6 +27,80 @@
|
|
|
27
27
|
Changelog
|
|
28
28
|
---------
|
|
29
29
|
|
|
30
|
+
4.4.2
|
|
31
|
+
.....
|
|
32
|
+
|
|
33
|
+
Misc
|
|
34
|
+
~~~~
|
|
35
|
+
|
|
36
|
+
* ``New year means updated Copyright notices (#60344)``
|
|
37
|
+
* ``Check team boundaries in connections (#59476)``
|
|
38
|
+
|
|
39
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
40
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
41
|
+
|
|
42
|
+
4.4.1
|
|
43
|
+
.....
|
|
44
|
+
|
|
45
|
+
Misc
|
|
46
|
+
~~~~
|
|
47
|
+
|
|
48
|
+
* ``Check team boundaries in variables (#58905)``
|
|
49
|
+
|
|
50
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
51
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
52
|
+
|
|
53
|
+
4.4.0
|
|
54
|
+
.....
|
|
55
|
+
|
|
56
|
+
.. note::
|
|
57
|
+
This release of provider is only available for Airflow 2.11+ as explained in the
|
|
58
|
+
Apache Airflow providers support policy <https://github.com/apache/airflow/blob/main/PROVIDERS.rst#minimum-supported-version-of-airflow-for-community-managed-providers>_.
|
|
59
|
+
|
|
60
|
+
Misc
|
|
61
|
+
~~~~
|
|
62
|
+
|
|
63
|
+
* ``Bump minimum Airflow version in providers to Airflow 2.11.0 (#58612)``
|
|
64
|
+
|
|
65
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
66
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
67
|
+
* ``Updates to release process of providers (#58316)``
|
|
68
|
+
|
|
69
|
+
4.3.4
|
|
70
|
+
.....
|
|
71
|
+
|
|
72
|
+
Misc
|
|
73
|
+
~~~~
|
|
74
|
+
|
|
75
|
+
* ``Convert all airflow distributions to be compliant with ASF requirements (#58138)``
|
|
76
|
+
* ``Synchronize boto3 and sqlalchemy dependency lower-binds (#57385)``
|
|
77
|
+
|
|
78
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
79
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
80
|
+
* ``Delete all unnecessary LICENSE Files (#58191)``
|
|
81
|
+
* ``Enable PT006 rule to hashicorp Provider test (#57916)``
|
|
82
|
+
|
|
83
|
+
4.3.3
|
|
84
|
+
.....
|
|
85
|
+
|
|
86
|
+
Misc
|
|
87
|
+
~~~~
|
|
88
|
+
|
|
89
|
+
* ``Migrate hashicorp provider to common.compat (#57015)``
|
|
90
|
+
|
|
91
|
+
Doc-only
|
|
92
|
+
~~~~~~~~
|
|
93
|
+
|
|
94
|
+
* ``Remove placeholder Release Date in changelog and index files (#56056)``
|
|
95
|
+
|
|
96
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
97
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
98
|
+
* ``Prepare release for Sep 2025 2nd wave of providers (#55688)``
|
|
99
|
+
* ``Prepare release for Sep 2025 1st wave of providers (#55203)``
|
|
100
|
+
* ``Fix Airflow 2 reference in README/index of providers (#55240)``
|
|
101
|
+
* ``Make term Dag consistent in providers docs (#55101)``
|
|
102
|
+
* ``Switch pre-commit to prek (#54258)``
|
|
103
|
+
|
|
30
104
|
4.3.2
|
|
31
105
|
.....
|
|
32
106
|
|
|
@@ -416,7 +490,8 @@ Bug Fixes
|
|
|
416
490
|
|
|
417
491
|
* ``Fix empty paths in Vault secrets backend (#29908)``
|
|
418
492
|
|
|
419
|
-
..
|
|
493
|
+
.. Below changes are excluded from the changelog. Move them to
|
|
494
|
+
appropriate section above if needed. Do not delete the lines(!):
|
|
420
495
|
* ``Prepare docs for 03/2023 wave of Providers (#29878)``
|
|
421
496
|
|
|
422
497
|
3.2.0
|
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/index.rst
RENAMED
|
@@ -69,9 +69,7 @@ apache-airflow-providers-hashicorp package
|
|
|
69
69
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
Release: 4.
|
|
73
|
-
|
|
74
|
-
Release Date: ``|PypiReleaseDate|``
|
|
72
|
+
Release: 4.4.2
|
|
75
73
|
|
|
76
74
|
Provider package
|
|
77
75
|
----------------
|
|
@@ -82,21 +80,22 @@ All classes for this package are included in the ``airflow.providers.hashicorp``
|
|
|
82
80
|
Installation
|
|
83
81
|
------------
|
|
84
82
|
|
|
85
|
-
You can install this package on top of an existing Airflow
|
|
83
|
+
You can install this package on top of an existing Airflow installation via
|
|
86
84
|
``pip install apache-airflow-providers-hashicorp``.
|
|
87
85
|
For the minimum Airflow version supported, see ``Requirements`` below.
|
|
88
86
|
|
|
89
87
|
Requirements
|
|
90
88
|
------------
|
|
91
89
|
|
|
92
|
-
The minimum Apache Airflow version supported by this provider distribution is ``2.
|
|
90
|
+
The minimum Apache Airflow version supported by this provider distribution is ``2.11.0``.
|
|
93
91
|
|
|
94
|
-
|
|
95
|
-
PIP package
|
|
96
|
-
|
|
97
|
-
``apache-airflow``
|
|
98
|
-
``
|
|
99
|
-
|
|
92
|
+
========================================== ==================
|
|
93
|
+
PIP package Version required
|
|
94
|
+
========================================== ==================
|
|
95
|
+
``apache-airflow`` ``>=2.11.0``
|
|
96
|
+
``apache-airflow-providers-common-compat`` ``>=1.8.0``
|
|
97
|
+
``hvac`` ``>=1.1.0``
|
|
98
|
+
========================================== ==================
|
|
100
99
|
|
|
101
100
|
Cross provider package dependencies
|
|
102
101
|
-----------------------------------
|
|
@@ -108,14 +107,15 @@ You can install such cross-provider dependencies when installing from PyPI. For
|
|
|
108
107
|
|
|
109
108
|
.. code-block:: bash
|
|
110
109
|
|
|
111
|
-
pip install apache-airflow-providers-hashicorp[
|
|
110
|
+
pip install apache-airflow-providers-hashicorp[common.compat]
|
|
112
111
|
|
|
113
112
|
|
|
114
|
-
|
|
115
|
-
Dependent package
|
|
116
|
-
|
|
117
|
-
`apache-airflow-providers-
|
|
118
|
-
|
|
113
|
+
================================================================================================================== =================
|
|
114
|
+
Dependent package Extra
|
|
115
|
+
================================================================================================================== =================
|
|
116
|
+
`apache-airflow-providers-common-compat <https://airflow.apache.org/docs/apache-airflow-providers-common-compat>`_ ``common.compat``
|
|
117
|
+
`apache-airflow-providers-google <https://airflow.apache.org/docs/apache-airflow-providers-google>`_ ``google``
|
|
118
|
+
================================================================================================================== =================
|
|
119
119
|
|
|
120
120
|
Downloading official packages
|
|
121
121
|
-----------------------------
|
|
@@ -123,5 +123,5 @@ Downloading official packages
|
|
|
123
123
|
You can download officially released packages and verify their checksums and signatures from the
|
|
124
124
|
`Official Apache Download site <https://downloads.apache.org/airflow/providers/>`_
|
|
125
125
|
|
|
126
|
-
* `The apache-airflow-providers-hashicorp 4.
|
|
127
|
-
* `The apache-airflow-providers-hashicorp 4.
|
|
126
|
+
* `The apache-airflow-providers-hashicorp 4.4.2 sdist package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2.tar.gz.sha512>`__)
|
|
127
|
+
* `The apache-airflow-providers-hashicorp 4.4.2 wheel package <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl>`_ (`asc <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl.asc>`__, `sha512 <https://downloads.apache.org/airflow/providers/apache_airflow_providers_hashicorp-4.4.2-py3-none-any.whl.sha512>`__)
|
|
@@ -235,7 +235,7 @@ Using multiple mount points
|
|
|
235
235
|
|
|
236
236
|
You can use multiple mount points to store your secrets. For example, you might want to store the Airflow instance configurations
|
|
237
237
|
in one Vault KV engine only accessible by your Airflow deployment tools, while storing the variables and connections in another KV engine
|
|
238
|
-
available to your
|
|
238
|
+
available to your Dags, in order to grant them more specific Vault ACLs.
|
|
239
239
|
|
|
240
240
|
In order to do this, you will need to setup you configuration this way:
|
|
241
241
|
|
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/provider.yaml
RENAMED
|
@@ -22,12 +22,17 @@ description: |
|
|
|
22
22
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
23
23
|
|
|
24
24
|
state: ready
|
|
25
|
-
source-date-epoch:
|
|
25
|
+
source-date-epoch: 1768335148
|
|
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.4.2
|
|
32
|
+
- 4.4.1
|
|
33
|
+
- 4.4.0
|
|
34
|
+
- 4.3.4
|
|
35
|
+
- 4.3.3
|
|
31
36
|
- 4.3.2
|
|
32
37
|
- 4.3.1
|
|
33
38
|
- 4.3.0
|
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/pyproject.toml
RENAMED
|
@@ -25,9 +25,11 @@ build-backend = "flit_core.buildapi"
|
|
|
25
25
|
|
|
26
26
|
[project]
|
|
27
27
|
name = "apache-airflow-providers-hashicorp"
|
|
28
|
-
version = "4.
|
|
28
|
+
version = "4.4.2"
|
|
29
29
|
description = "Provider package apache-airflow-providers-hashicorp for Apache Airflow"
|
|
30
30
|
readme = "README.rst"
|
|
31
|
+
license = "Apache-2.0"
|
|
32
|
+
license-files = ['LICENSE', 'NOTICE']
|
|
31
33
|
authors = [
|
|
32
34
|
{name="Apache Software Foundation", email="dev@airflow.apache.org"},
|
|
33
35
|
]
|
|
@@ -43,7 +45,6 @@ classifiers = [
|
|
|
43
45
|
"Intended Audience :: System Administrators",
|
|
44
46
|
"Framework :: Apache Airflow",
|
|
45
47
|
"Framework :: Apache Airflow :: Provider",
|
|
46
|
-
"License :: OSI Approved :: Apache Software License",
|
|
47
48
|
"Programming Language :: Python :: 3.10",
|
|
48
49
|
"Programming Language :: Python :: 3.11",
|
|
49
50
|
"Programming Language :: Python :: 3.12",
|
|
@@ -54,10 +55,11 @@ requires-python = ">=3.10"
|
|
|
54
55
|
|
|
55
56
|
# The dependencies should be modified in place in the generated file.
|
|
56
57
|
# Any change in the dependencies is preserved when the file is regenerated
|
|
57
|
-
# Make sure to run ``
|
|
58
|
+
# Make sure to run ``prek update-providers-dependencies --all-files``
|
|
58
59
|
# After you modify the dependencies, and rebuild your Breeze CI image with ``breeze ci-image build``
|
|
59
60
|
dependencies = [
|
|
60
|
-
"apache-airflow>=2.
|
|
61
|
+
"apache-airflow>=2.11.0",
|
|
62
|
+
"apache-airflow-providers-common-compat>=1.8.0",
|
|
61
63
|
"hvac>=1.1.0",
|
|
62
64
|
]
|
|
63
65
|
|
|
@@ -66,7 +68,7 @@ dependencies = [
|
|
|
66
68
|
[project.optional-dependencies]
|
|
67
69
|
"boto3" = [
|
|
68
70
|
# Require for AWS assume role authentication
|
|
69
|
-
"boto3>=1.
|
|
71
|
+
"boto3>=1.37.2",
|
|
70
72
|
]
|
|
71
73
|
"google" = [
|
|
72
74
|
"apache-airflow-providers-google"
|
|
@@ -77,6 +79,7 @@ dev = [
|
|
|
77
79
|
"apache-airflow",
|
|
78
80
|
"apache-airflow-task-sdk",
|
|
79
81
|
"apache-airflow-devel-common",
|
|
82
|
+
"apache-airflow-providers-common-compat",
|
|
80
83
|
"apache-airflow-providers-google",
|
|
81
84
|
# Additional devel dependencies (do not remove this line and add extra development dependencies)
|
|
82
85
|
]
|
|
@@ -107,8 +110,8 @@ apache-airflow-providers-common-sql = {workspace = true}
|
|
|
107
110
|
apache-airflow-providers-standard = {workspace = true}
|
|
108
111
|
|
|
109
112
|
[project.urls]
|
|
110
|
-
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
111
|
-
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.
|
|
113
|
+
"Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2"
|
|
114
|
+
"Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/4.4.2/changelog.html"
|
|
112
115
|
"Bug Tracker" = "https://github.com/apache/airflow/issues"
|
|
113
116
|
"Source Code" = "https://github.com/apache/airflow"
|
|
114
117
|
"Slack Chat" = "https://s.apache.org/airflow-slack"
|
|
@@ -29,11 +29,11 @@ from airflow import __version__ as airflow_version
|
|
|
29
29
|
|
|
30
30
|
__all__ = ["__version__"]
|
|
31
31
|
|
|
32
|
-
__version__ = "4.
|
|
32
|
+
__version__ = "4.4.2"
|
|
33
33
|
|
|
34
34
|
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
35
|
-
"2.
|
|
35
|
+
"2.11.0"
|
|
36
36
|
):
|
|
37
37
|
raise RuntimeError(
|
|
38
|
-
f"The package `apache-airflow-providers-hashicorp:{__version__}` needs Apache Airflow 2.
|
|
38
|
+
f"The package `apache-airflow-providers-hashicorp:{__version__}` needs Apache Airflow 2.11.0+"
|
|
39
39
|
)
|
|
@@ -23,12 +23,12 @@ from typing import TYPE_CHECKING, Any
|
|
|
23
23
|
|
|
24
24
|
from hvac.exceptions import VaultError
|
|
25
25
|
|
|
26
|
+
from airflow.providers.common.compat.sdk import BaseHook
|
|
26
27
|
from airflow.providers.hashicorp._internal_client.vault_client import (
|
|
27
28
|
DEFAULT_KUBERNETES_JWT_PATH,
|
|
28
29
|
DEFAULT_KV_ENGINE_VERSION,
|
|
29
30
|
_VaultClient,
|
|
30
31
|
)
|
|
31
|
-
from airflow.providers.hashicorp.version_compat import BaseHook
|
|
32
32
|
from airflow.utils.helpers import merge_dicts
|
|
33
33
|
|
|
34
34
|
if TYPE_CHECKING:
|
|
@@ -186,7 +186,7 @@ class VaultBackend(BaseSecretsBackend, LoggingMixin):
|
|
|
186
186
|
if TYPE_CHECKING:
|
|
187
187
|
from airflow.models.connection import Connection
|
|
188
188
|
|
|
189
|
-
def get_connection(self, conn_id: str) -> Connection | None:
|
|
189
|
+
def get_connection(self, conn_id: str, team_name: str | None = None) -> Connection | None:
|
|
190
190
|
"""
|
|
191
191
|
Get connection from Vault as secret.
|
|
192
192
|
|
|
@@ -208,11 +208,12 @@ class VaultBackend(BaseSecretsBackend, LoggingMixin):
|
|
|
208
208
|
|
|
209
209
|
return Connection(conn_id, **response)
|
|
210
210
|
|
|
211
|
-
def get_variable(self, key: str) -> str | None:
|
|
211
|
+
def get_variable(self, key: str, team_name: str | None = None) -> str | None:
|
|
212
212
|
"""
|
|
213
213
|
Get Airflow Variable.
|
|
214
214
|
|
|
215
215
|
:param key: Variable Key
|
|
216
|
+
:param team_name: Team name associated to the task trying to access the variable (if any)
|
|
216
217
|
:return: Variable Value retrieved from the vault
|
|
217
218
|
"""
|
|
218
219
|
mount_point, variable_key = self._parse_path(key)
|
|
@@ -30,9 +30,4 @@ def get_base_airflow_version_tuple() -> tuple[int, int, int]:
|
|
|
30
30
|
AIRFLOW_V_3_0_PLUS = get_base_airflow_version_tuple() >= (3, 0, 0)
|
|
31
31
|
AIRFLOW_V_3_1_PLUS: bool = get_base_airflow_version_tuple() >= (3, 1, 0)
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
from airflow.sdk import BaseHook
|
|
35
|
-
else:
|
|
36
|
-
from airflow.hooks.base import BaseHook # type: ignore[attr-defined,no-redef]
|
|
37
|
-
|
|
38
|
-
__all__ = ["BaseHook"]
|
|
33
|
+
__all__ = ["AIRFLOW_V_3_0_PLUS", "AIRFLOW_V_3_1_PLUS"]
|
|
@@ -62,7 +62,7 @@ class TestVaultHook:
|
|
|
62
62
|
VaultHook(**kwargs)
|
|
63
63
|
|
|
64
64
|
@pytest.mark.parametrize(
|
|
65
|
-
"version, expected_version",
|
|
65
|
+
("version", "expected_version"),
|
|
66
66
|
[
|
|
67
67
|
("2", 2),
|
|
68
68
|
(1, 1),
|
|
@@ -161,7 +161,7 @@ class TestVaultHook:
|
|
|
161
161
|
assert test_hook.vault_client.kv_engine_version == 1
|
|
162
162
|
|
|
163
163
|
@pytest.mark.parametrize(
|
|
164
|
-
"protocol, expected_url",
|
|
164
|
+
("protocol", "expected_url"),
|
|
165
165
|
[
|
|
166
166
|
("vaults", "https://localhost:8180"),
|
|
167
167
|
("http", "http://localhost:8180"),
|
|
@@ -195,7 +195,7 @@ class TestVaultHook:
|
|
|
195
195
|
assert test_hook.vault_client.kv_engine_version == 2
|
|
196
196
|
|
|
197
197
|
@pytest.mark.parametrize(
|
|
198
|
-
"use_tls, expected_url",
|
|
198
|
+
("use_tls", "expected_url"),
|
|
199
199
|
[
|
|
200
200
|
(True, "https://localhost:8180"),
|
|
201
201
|
(False, "http://localhost:8180"),
|
|
@@ -1282,7 +1282,7 @@ class TestVaultHook:
|
|
|
1282
1282
|
)
|
|
1283
1283
|
|
|
1284
1284
|
@pytest.mark.parametrize(
|
|
1285
|
-
"method, expected_method",
|
|
1285
|
+
("method", "expected_method"),
|
|
1286
1286
|
[
|
|
1287
1287
|
(None, None),
|
|
1288
1288
|
("post", "post"),
|
|
@@ -182,7 +182,7 @@ class TestVaultSecrets:
|
|
|
182
182
|
assert returned_uri == "world"
|
|
183
183
|
|
|
184
184
|
@pytest.mark.parametrize(
|
|
185
|
-
"mount_point, variables_path, variable_key, expected_args",
|
|
185
|
+
("mount_point", "variables_path", "variable_key", "expected_args"),
|
|
186
186
|
[
|
|
187
187
|
("airflow", "variables", "hello", {"mount_point": "airflow", "path": "variables/hello"}),
|
|
188
188
|
(
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7b2ec33c7ad4998d9c9735b79593fcdcd3b9dd1f
|
|
File without changes
|
|
File without changes
|
{apache_airflow_providers_hashicorp-4.3.2 → apache_airflow_providers_hashicorp-4.4.2}/docs/conf.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|