apache-airflow-providers-http 4.10.1rc1__tar.gz → 4.11.0__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 (14) hide show
  1. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/PKG-INFO +8 -8
  2. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/README.rst +4 -4
  3. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/__init__.py +3 -3
  4. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/get_provider_info.py +3 -2
  5. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/hooks/http.py +4 -0
  6. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/pyproject.toml +4 -4
  7. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/LICENSE +0 -0
  8. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/hooks/__init__.py +0 -0
  9. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/operators/__init__.py +0 -0
  10. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/operators/http.py +0 -0
  11. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/sensors/__init__.py +0 -0
  12. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/sensors/http.py +0 -0
  13. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/triggers/__init__.py +0 -0
  14. {apache_airflow_providers_http-4.10.1rc1 → apache_airflow_providers_http-4.11.0}/airflow/providers/http/triggers/http.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-http
3
- Version: 4.10.1rc1
3
+ Version: 4.11.0
4
4
  Summary: Provider package apache-airflow-providers-http for Apache Airflow
5
5
  Keywords: airflow-provider,http,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -22,13 +22,13 @@ Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Programming Language :: Python :: 3.12
23
23
  Classifier: Topic :: System :: Monitoring
24
24
  Requires-Dist: aiohttp>=3.9.2
25
- Requires-Dist: apache-airflow>=2.6.0rc0
25
+ Requires-Dist: apache-airflow>=2.7.0
26
26
  Requires-Dist: asgiref
27
27
  Requires-Dist: requests>=2.27.0,<3
28
28
  Requires-Dist: requests_toolbelt
29
29
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
30
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/changelog.html
31
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1
30
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html
31
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0
32
32
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
33
33
  Project-URL: Source Code, https://github.com/apache/airflow
34
34
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -78,7 +78,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
78
78
 
79
79
  Package ``apache-airflow-providers-http``
80
80
 
81
- Release: ``4.10.1.rc1``
81
+ Release: ``4.11.0``
82
82
 
83
83
 
84
84
  `Hypertext Transfer Protocol (HTTP) <https://www.w3.org/Protocols/>`__
@@ -91,7 +91,7 @@ This is a provider package for ``http`` provider. All classes for this provider
91
91
  are in ``airflow.providers.http`` python package.
92
92
 
93
93
  You can find package information and changelog for the provider
94
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/>`_.
94
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/>`_.
95
95
 
96
96
  Installation
97
97
  ------------
@@ -108,7 +108,7 @@ Requirements
108
108
  ===================== ==================
109
109
  PIP package Version required
110
110
  ===================== ==================
111
- ``apache-airflow`` ``>=2.6.0``
111
+ ``apache-airflow`` ``>=2.7.0``
112
112
  ``requests`` ``>=2.27.0,<3``
113
113
  ``requests_toolbelt``
114
114
  ``aiohttp`` ``>=3.9.2``
@@ -116,4 +116,4 @@ PIP package Version required
116
116
  ===================== ==================
117
117
 
118
118
  The changelog for the provider package can be found in the
119
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/changelog.html>`_.
119
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html>`_.
@@ -42,7 +42,7 @@
42
42
 
43
43
  Package ``apache-airflow-providers-http``
44
44
 
45
- Release: ``4.10.1.rc1``
45
+ Release: ``4.11.0``
46
46
 
47
47
 
48
48
  `Hypertext Transfer Protocol (HTTP) <https://www.w3.org/Protocols/>`__
@@ -55,7 +55,7 @@ This is a provider package for ``http`` provider. All classes for this provider
55
55
  are in ``airflow.providers.http`` python package.
56
56
 
57
57
  You can find package information and changelog for the provider
58
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/>`_.
58
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/>`_.
59
59
 
60
60
  Installation
61
61
  ------------
@@ -72,7 +72,7 @@ Requirements
72
72
  ===================== ==================
73
73
  PIP package Version required
74
74
  ===================== ==================
75
- ``apache-airflow`` ``>=2.6.0``
75
+ ``apache-airflow`` ``>=2.7.0``
76
76
  ``requests`` ``>=2.27.0,<3``
77
77
  ``requests_toolbelt``
78
78
  ``aiohttp`` ``>=3.9.2``
@@ -80,4 +80,4 @@ PIP package Version required
80
80
  ===================== ==================
81
81
 
82
82
  The changelog for the provider package can be found in the
83
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/changelog.html>`_.
83
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html>`_.
@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "4.10.1"
30
+ __version__ = "4.11.0"
31
31
 
32
32
  try:
33
33
  from airflow import __version__ as airflow_version
@@ -35,8 +35,8 @@ except ImportError:
35
35
  from airflow.version import version as airflow_version
36
36
 
37
37
  if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
38
- "2.6.0"
38
+ "2.7.0"
39
39
  ):
40
40
  raise RuntimeError(
41
- f"The package `apache-airflow-providers-http:{__version__}` needs Apache Airflow 2.6.0+"
41
+ f"The package `apache-airflow-providers-http:{__version__}` needs Apache Airflow 2.7.0+"
42
42
  )
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "Hypertext Transfer Protocol (HTTP)",
29
29
  "description": "`Hypertext Transfer Protocol (HTTP) <https://www.w3.org/Protocols/>`__\n",
30
30
  "state": "ready",
31
- "source-date-epoch": 1712666022,
31
+ "source-date-epoch": 1714476595,
32
32
  "versions": [
33
+ "4.11.0",
33
34
  "4.10.1",
34
35
  "4.10.0",
35
36
  "4.9.1",
@@ -61,7 +62,7 @@ def get_provider_info():
61
62
  "1.0.0",
62
63
  ],
63
64
  "dependencies": [
64
- "apache-airflow>=2.6.0",
65
+ "apache-airflow>=2.7.0",
65
66
  "requests>=2.27.0,<3",
66
67
  "requests_toolbelt",
67
68
  "aiohttp>=3.9.2",
@@ -132,6 +132,7 @@ class HttpHook(BaseHook):
132
132
  session.verify = extra.pop("verify", extra.pop("verify_ssl", True))
133
133
  session.cert = extra.pop("cert", None)
134
134
  session.max_redirects = extra.pop("max_redirects", DEFAULT_REDIRECT_LIMIT)
135
+ session.trust_env = extra.pop("trust_env", True)
135
136
 
136
137
  try:
137
138
  session.headers.update(extra)
@@ -425,6 +426,7 @@ class HttpAsyncHook(BaseHook):
425
426
  verify_ssl = extra.pop("verify", extra.pop("verify_ssl", None))
426
427
  allow_redirects = extra.pop("allow_redirects", None)
427
428
  max_redirects = extra.pop("max_redirects", None)
429
+ trust_env = extra.pop("trust_env", None)
428
430
 
429
431
  if proxies is not None and "proxy" not in extra_options:
430
432
  extra_options["proxy"] = proxies
@@ -436,6 +438,8 @@ class HttpAsyncHook(BaseHook):
436
438
  extra_options["allow_redirects"] = allow_redirects
437
439
  if max_redirects is not None and "max_redirects" not in extra_options:
438
440
  extra_options["max_redirects"] = max_redirects
441
+ if trust_env is not None and "trust_env" not in extra_options:
442
+ extra_options["trust_env"] = trust_env
439
443
  return extra
440
444
 
441
445
  def _retryable_error_async(self, exception: ClientResponseError) -> bool:
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
28
28
 
29
29
  [project]
30
30
  name = "apache-airflow-providers-http"
31
- version = "4.10.1.rc1"
31
+ version = "4.11.0"
32
32
  description = "Provider package apache-airflow-providers-http for Apache Airflow"
33
33
  readme = "README.rst"
34
34
  authors = [
@@ -57,15 +57,15 @@ classifiers = [
57
57
  requires-python = "~=3.8"
58
58
  dependencies = [
59
59
  "aiohttp>=3.9.2",
60
- "apache-airflow>=2.6.0rc0",
60
+ "apache-airflow>=2.7.0",
61
61
  "asgiref",
62
62
  "requests>=2.27.0,<3",
63
63
  "requests_toolbelt",
64
64
  ]
65
65
 
66
66
  [project.urls]
67
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1"
68
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-http/4.10.1/changelog.html"
67
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0"
68
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-http/4.11.0/changelog.html"
69
69
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
70
70
  "Source Code" = "https://github.com/apache/airflow"
71
71
  "Slack Chat" = "https://s.apache.org/airflow-slack"