apache-airflow-providers-hashicorp 3.4.2rc2__tar.gz → 3.4.3rc1__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.
Potentially problematic release.
This version of apache-airflow-providers-hashicorp might be problematic. Click here for more details.
- {apache-airflow-providers-hashicorp-3.4.2rc2/apache_airflow_providers_hashicorp.egg-info → apache-airflow-providers-hashicorp-3.4.3rc1}/PKG-INFO +6 -6
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/README.rst +3 -3
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/__init__.py +4 -2
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/get_provider_info.py +1 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/hooks/vault.py +6 -4
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1/apache_airflow_providers_hashicorp.egg-info}/PKG-INFO +6 -6
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/pyproject.toml +39 -34
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/setup.cfg +3 -3
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/setup.py +1 -1
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/LICENSE +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/MANIFEST.in +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/NOTICE +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/_internal_client/__init__.py +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/_internal_client/vault_client.py +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/hooks/__init__.py +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/secrets/__init__.py +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/airflow/providers/hashicorp/secrets/vault.py +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/SOURCES.txt +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/dependency_links.txt +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/entry_points.txt +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/not-zip-safe +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/requires.txt +0 -0
- {apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/apache_airflow_providers_hashicorp.egg-info/top_level.txt +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-hashicorp
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.3rc1
|
|
4
4
|
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-hashicorp package
|
|
5
5
|
Home-page: https://airflow.apache.org/
|
|
6
6
|
Download-URL: https://archive.apache.org/dist/airflow/providers
|
|
7
7
|
Author: Apache Software Foundation
|
|
8
8
|
Author-email: dev@airflow.apache.org
|
|
9
9
|
License: Apache License 2.0
|
|
10
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
11
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/
|
|
11
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html
|
|
12
12
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
13
13
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
14
14
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
@@ -71,7 +71,7 @@ License-File: NOTICE
|
|
|
71
71
|
|
|
72
72
|
Package ``apache-airflow-providers-hashicorp``
|
|
73
73
|
|
|
74
|
-
Release: ``3.4.
|
|
74
|
+
Release: ``3.4.3rc1``
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -84,7 +84,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
84
84
|
are in ``airflow.providers.hashicorp`` python package.
|
|
85
85
|
|
|
86
86
|
You can find package information and changelog for the provider
|
|
87
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
87
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/>`_.
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
Installation
|
|
@@ -126,4 +126,4 @@ Dependent package
|
|
|
126
126
|
==================================================================================================== ==========
|
|
127
127
|
|
|
128
128
|
The changelog for the provider package can be found in the
|
|
129
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
129
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html>`_.
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
Package ``apache-airflow-providers-hashicorp``
|
|
38
38
|
|
|
39
|
-
Release: ``3.4.
|
|
39
|
+
Release: ``3.4.3rc1``
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -49,7 +49,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
49
49
|
are in ``airflow.providers.hashicorp`` python package.
|
|
50
50
|
|
|
51
51
|
You can find package information and changelog for the provider
|
|
52
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
52
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/>`_.
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
Installation
|
|
@@ -91,4 +91,4 @@ Dependent package
|
|
|
91
91
|
==================================================================================================== ==========
|
|
92
92
|
|
|
93
93
|
The changelog for the provider package can be found in the
|
|
94
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
94
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html>`_.
|
|
@@ -28,14 +28,16 @@ import packaging.version
|
|
|
28
28
|
|
|
29
29
|
__all__ = ["__version__"]
|
|
30
30
|
|
|
31
|
-
__version__ = "3.4.
|
|
31
|
+
__version__ = "3.4.3"
|
|
32
32
|
|
|
33
33
|
try:
|
|
34
34
|
from airflow import __version__ as airflow_version
|
|
35
35
|
except ImportError:
|
|
36
36
|
from airflow.version import version as airflow_version
|
|
37
37
|
|
|
38
|
-
if packaging.version.parse(airflow_version) < packaging.version.parse(
|
|
38
|
+
if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
|
|
39
|
+
"2.4.0"
|
|
40
|
+
):
|
|
39
41
|
raise RuntimeError(
|
|
40
42
|
f"The package `apache-airflow-providers-hashicorp:{__version__}` requires Apache Airflow 2.4.0+" # NOQA: E501
|
|
41
43
|
)
|
|
@@ -19,11 +19,9 @@ from __future__ import annotations
|
|
|
19
19
|
|
|
20
20
|
import json
|
|
21
21
|
import warnings
|
|
22
|
-
from typing import Any
|
|
22
|
+
from typing import TYPE_CHECKING, Any
|
|
23
23
|
|
|
24
|
-
import hvac
|
|
25
24
|
from hvac.exceptions import VaultError
|
|
26
|
-
from requests import Response
|
|
27
25
|
|
|
28
26
|
from airflow.exceptions import AirflowProviderDeprecationWarning
|
|
29
27
|
from airflow.hooks.base import BaseHook
|
|
@@ -34,6 +32,10 @@ from airflow.providers.hashicorp._internal_client.vault_client import (
|
|
|
34
32
|
)
|
|
35
33
|
from airflow.utils.helpers import merge_dicts
|
|
36
34
|
|
|
35
|
+
if TYPE_CHECKING:
|
|
36
|
+
import hvac
|
|
37
|
+
from requests import Response
|
|
38
|
+
|
|
37
39
|
|
|
38
40
|
class VaultHook(BaseHook):
|
|
39
41
|
"""
|
|
@@ -49,7 +51,7 @@ class VaultHook(BaseHook):
|
|
|
49
51
|
The mount point should be placed as a path in the URL - similarly to Vault's URL schema:
|
|
50
52
|
This indicates the "path" the secret engine is mounted on. Default id not specified is "secret".
|
|
51
53
|
Note that this ``mount_point`` is not used for authentication if authentication is done via a
|
|
52
|
-
different engines. Each engine uses
|
|
54
|
+
different engines. Each engine uses its own engine-specific authentication mount_point.
|
|
53
55
|
|
|
54
56
|
The extras in the connection are named the same as the parameters ('kv_engine_version', 'auth_type', ...).
|
|
55
57
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: apache-airflow-providers-hashicorp
|
|
3
|
-
Version: 3.4.
|
|
3
|
+
Version: 3.4.3rc1
|
|
4
4
|
Summary: Provider for Apache Airflow. Implements apache-airflow-providers-hashicorp package
|
|
5
5
|
Home-page: https://airflow.apache.org/
|
|
6
6
|
Download-URL: https://archive.apache.org/dist/airflow/providers
|
|
7
7
|
Author: Apache Software Foundation
|
|
8
8
|
Author-email: dev@airflow.apache.org
|
|
9
9
|
License: Apache License 2.0
|
|
10
|
-
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
11
|
-
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
10
|
+
Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/
|
|
11
|
+
Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html
|
|
12
12
|
Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
|
|
13
13
|
Project-URL: Source Code, https://github.com/apache/airflow
|
|
14
14
|
Project-URL: Slack Chat, https://s.apache.org/airflow-slack
|
|
@@ -71,7 +71,7 @@ License-File: NOTICE
|
|
|
71
71
|
|
|
72
72
|
Package ``apache-airflow-providers-hashicorp``
|
|
73
73
|
|
|
74
|
-
Release: ``3.4.
|
|
74
|
+
Release: ``3.4.3rc1``
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
Hashicorp including `Hashicorp Vault <https://www.vaultproject.io/>`__
|
|
@@ -84,7 +84,7 @@ This is a provider package for ``hashicorp`` provider. All classes for this prov
|
|
|
84
84
|
are in ``airflow.providers.hashicorp`` python package.
|
|
85
85
|
|
|
86
86
|
You can find package information and changelog for the provider
|
|
87
|
-
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
87
|
+
in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/>`_.
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
Installation
|
|
@@ -126,4 +126,4 @@ Dependent package
|
|
|
126
126
|
==================================================================================================== ==========
|
|
127
127
|
|
|
128
128
|
The changelog for the provider package can be found in the
|
|
129
|
-
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
129
|
+
`changelog <https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html>`_.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
# under the License.
|
|
17
17
|
[tool.black]
|
|
18
18
|
line-length = 110
|
|
19
|
-
target-version = ['
|
|
19
|
+
target-version = ['py38', 'py39', 'py310', 'py311']
|
|
20
20
|
|
|
21
21
|
# Editable installs are currently broken using setuptools 64.0.0 and above. The problem is tracked in
|
|
22
22
|
# https://github.com/pypa/setuptools/issues/3548. We're also discussing how we could potentially fix
|
|
@@ -28,10 +28,8 @@ target-version = ['py37', 'py38', 'py39', 'py310']
|
|
|
28
28
|
requires = ['setuptools==67.2.0']
|
|
29
29
|
build-backend = "setuptools.build_meta"
|
|
30
30
|
|
|
31
|
-
[project]
|
|
32
|
-
requires-python = ">=3.8"
|
|
33
|
-
|
|
34
31
|
[tool.ruff]
|
|
32
|
+
target-version = "py38"
|
|
35
33
|
typing-modules = ["airflow.typing_compat"]
|
|
36
34
|
line-length = 110
|
|
37
35
|
extend-exclude = [
|
|
@@ -41,7 +39,8 @@ extend-exclude = [
|
|
|
41
39
|
# The files generated by stubgen aren't 100% valid syntax it turns out, and we don't ship them, so we can
|
|
42
40
|
# ignore them in ruff
|
|
43
41
|
"airflow/providers/common/sql/*/*.pyi",
|
|
44
|
-
"airflow/migrations/versions/*.py"
|
|
42
|
+
"airflow/migrations/versions/*.py",
|
|
43
|
+
"tests/dags/test_imports.py",
|
|
45
44
|
]
|
|
46
45
|
|
|
47
46
|
extend-select = [
|
|
@@ -61,11 +60,12 @@ extend-select = [
|
|
|
61
60
|
"D402",
|
|
62
61
|
"D403",
|
|
63
62
|
"D412",
|
|
64
|
-
"D419"
|
|
63
|
+
"D419",
|
|
64
|
+
"TCH001", # typing-only-first-party-import
|
|
65
|
+
"TCH002", # typing-only-third-party-import
|
|
65
66
|
]
|
|
66
67
|
extend-ignore = [
|
|
67
68
|
"D203",
|
|
68
|
-
"D205",
|
|
69
69
|
"D212",
|
|
70
70
|
"D213",
|
|
71
71
|
"D214",
|
|
@@ -73,6 +73,8 @@ extend-ignore = [
|
|
|
73
73
|
"E731",
|
|
74
74
|
]
|
|
75
75
|
|
|
76
|
+
namespace-packages = ["airflow/providers"]
|
|
77
|
+
|
|
76
78
|
[tool.pytest.ini_options]
|
|
77
79
|
# * Disable `flaky` plugin for pytest. This plugin conflicts with `rerunfailures` because provide same marker.
|
|
78
80
|
# * Disable `nose` builtin plugin for pytest. This feature deprecated in 7.2 and will be removed in pytest>=8
|
|
@@ -99,46 +101,21 @@ filterwarnings = [
|
|
|
99
101
|
"ignore::DeprecationWarning:apispec.utils",
|
|
100
102
|
]
|
|
101
103
|
python_files = [
|
|
102
|
-
"*.py",
|
|
104
|
+
"test_*.py",
|
|
105
|
+
"example_*.py",
|
|
103
106
|
]
|
|
104
107
|
testpaths = [
|
|
105
108
|
"tests",
|
|
106
109
|
]
|
|
107
110
|
|
|
108
111
|
[tool.ruff.isort]
|
|
109
|
-
known-first-party = ["airflow", "airflow_breeze", "docker_tests", "docs", "kubernetes_tests", "tests"]
|
|
110
112
|
required-imports = ["from __future__ import annotations"]
|
|
111
113
|
combine-as-imports = true
|
|
112
114
|
|
|
113
|
-
# TODO: for now, https://github.com/charliermarsh/ruff/issues/1817
|
|
114
|
-
known-third-party = [
|
|
115
|
-
"asana",
|
|
116
|
-
"atlassian",
|
|
117
|
-
"celery",
|
|
118
|
-
"cloudant",
|
|
119
|
-
"databricks",
|
|
120
|
-
"datadog",
|
|
121
|
-
"docker",
|
|
122
|
-
"elasticsearch",
|
|
123
|
-
"github",
|
|
124
|
-
"google",
|
|
125
|
-
"grpc",
|
|
126
|
-
"jenkins",
|
|
127
|
-
"mysql",
|
|
128
|
-
"neo4j",
|
|
129
|
-
"papermill",
|
|
130
|
-
"redis",
|
|
131
|
-
"sendgrid",
|
|
132
|
-
"snowflake",
|
|
133
|
-
"telegram",
|
|
134
|
-
"trino",
|
|
135
|
-
]
|
|
136
|
-
|
|
137
115
|
[tool.ruff.per-file-ignores]
|
|
138
116
|
"airflow/models/__init__.py" = ["F401"]
|
|
139
117
|
"airflow/models/sqla_models.py" = ["F401"]
|
|
140
118
|
|
|
141
|
-
|
|
142
119
|
# The test_python.py is needed because adding __future__.annotations breaks runtime checks that are
|
|
143
120
|
# needed for the test to work
|
|
144
121
|
"tests/decorators/test_python.py" = ["I002"]
|
|
@@ -166,3 +143,31 @@ known-third-party = [
|
|
|
166
143
|
"airflow/security/utils.py" = ["E402"]
|
|
167
144
|
"tests/providers/elasticsearch/log/elasticmock/__init__.py" = ["E402"]
|
|
168
145
|
"tests/providers/elasticsearch/log/elasticmock/utilities/__init__.py" = ["E402"]
|
|
146
|
+
|
|
147
|
+
[tool.coverage.run]
|
|
148
|
+
branch = true
|
|
149
|
+
relative_files = true
|
|
150
|
+
source = ["airflow"]
|
|
151
|
+
omit = [
|
|
152
|
+
"airflow/_vendor/**",
|
|
153
|
+
"airflow/contrib/**",
|
|
154
|
+
"airflow/example_dags/**",
|
|
155
|
+
"airflow/migrations/**",
|
|
156
|
+
"airflow/providers/**/example_dags/**",
|
|
157
|
+
"airflow/www/node_modules/**",
|
|
158
|
+
"airflow/providers/google/ads/_vendor/**",
|
|
159
|
+
]
|
|
160
|
+
|
|
161
|
+
[tool.coverage.report]
|
|
162
|
+
skip_empty = true
|
|
163
|
+
exclude_also = [
|
|
164
|
+
"def __repr__",
|
|
165
|
+
"raise AssertionError",
|
|
166
|
+
"raise NotImplementedError",
|
|
167
|
+
"if __name__ == .__main__.:",
|
|
168
|
+
"@(abc\\.)?abstractmethod",
|
|
169
|
+
"@(typing(_extensions)?\\.)?overload",
|
|
170
|
+
"if TYPE_CHECKING:"
|
|
171
|
+
]
|
|
172
|
+
[tool.ruff.flake8-type-checking]
|
|
173
|
+
exempt-modules = ["typing", "typing_extensions"]
|
|
@@ -27,8 +27,8 @@ classifiers =
|
|
|
27
27
|
Programming Language :: Python :: 3.11
|
|
28
28
|
Topic :: System :: Monitoring
|
|
29
29
|
project_urls =
|
|
30
|
-
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
31
|
-
Changelog=https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.
|
|
30
|
+
Documentation=https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/
|
|
31
|
+
Changelog=https://airflow.apache.org/docs/apache-airflow-providers-hashicorp/3.4.3/changelog.html
|
|
32
32
|
Bug Tracker=https://github.com/apache/airflow/issues
|
|
33
33
|
Source Code=https://github.com/apache/airflow
|
|
34
34
|
Slack Chat=https://s.apache.org/airflow-slack
|
|
@@ -58,6 +58,6 @@ apache_airflow_provider =
|
|
|
58
58
|
packages = airflow.providers.hashicorp
|
|
59
59
|
|
|
60
60
|
[egg_info]
|
|
61
|
-
tag_build =
|
|
61
|
+
tag_build = rc1
|
|
62
62
|
tag_date = 0
|
|
63
63
|
|
{apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
{apache-airflow-providers-hashicorp-3.4.2rc2 → apache-airflow-providers-hashicorp-3.4.3rc1}/NOTICE
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
|