You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/05/01 21:40:49 UTC
[airflow] branch master updated: Docs: Replace 'airflow' to
'apache-airflow' to install extra (#15628)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new db557a8 Docs: Replace 'airflow' to 'apache-airflow' to install extra (#15628)
db557a8 is described below
commit db557a8c4a3e1f0d67b2534010e5092be4f4a9fd
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sat May 1 22:40:32 2021 +0100
Docs: Replace 'airflow' to 'apache-airflow' to install extra (#15628)
Some of the docs advised to use 'airflow[azure]' whereas it should be
apache-airflow[azure]
---
airflow/providers/amazon/aws/log/cloudwatch_task_handler.py | 2 +-
airflow/providers/amazon/aws/log/s3_task_handler.py | 2 +-
airflow/providers/microsoft/azure/log/wasb_task_handler.py | 2 +-
tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py | 2 +-
tests/providers/amazon/aws/log/test_s3_task_handler.py | 2 +-
tests/providers/microsoft/azure/log/test_wasb_task_handler.py | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py b/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py
index 525b503..829a0b9 100644
--- a/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py
+++ b/airflow/providers/amazon/aws/log/cloudwatch_task_handler.py
@@ -63,7 +63,7 @@ class CloudwatchTaskHandler(FileTaskHandler, LoggingMixin):
except Exception as e: # pylint: disable=broad-except
self.log.error(
'Could not create an AwsLogsHook with connection id "%s". '
- 'Please make sure that airflow[aws] is installed and '
+ 'Please make sure that apache-airflow[aws] is installed and '
'the Cloudwatch logs connection exists. Exception: "%s"',
remote_conn_id,
e,
diff --git a/airflow/providers/amazon/aws/log/s3_task_handler.py b/airflow/providers/amazon/aws/log/s3_task_handler.py
index 7f1ccd2..f357fa3 100644
--- a/airflow/providers/amazon/aws/log/s3_task_handler.py
+++ b/airflow/providers/amazon/aws/log/s3_task_handler.py
@@ -53,7 +53,7 @@ class S3TaskHandler(FileTaskHandler, LoggingMixin):
except Exception as e: # pylint: disable=broad-except
self.log.exception(
'Could not create an S3Hook with connection id "%s". '
- 'Please make sure that airflow[aws] is installed and '
+ 'Please make sure that apache-airflow[aws] is installed and '
'the S3 connection exists. Exception : "%s"',
remote_conn_id,
e,
diff --git a/airflow/providers/microsoft/azure/log/wasb_task_handler.py b/airflow/providers/microsoft/azure/log/wasb_task_handler.py
index 6afccab..5b5e8a3 100644
--- a/airflow/providers/microsoft/azure/log/wasb_task_handler.py
+++ b/airflow/providers/microsoft/azure/log/wasb_task_handler.py
@@ -66,7 +66,7 @@ class WasbTaskHandler(FileTaskHandler, LoggingMixin):
except AzureHttpError:
self.log.exception(
'Could not create an WasbHook with connection id "%s".'
- ' Please make sure that airflow[azure] is installed'
+ ' Please make sure that apache-airflow[azure] is installed'
' and the Wasb connection exists.',
remote_conn_id,
)
diff --git a/tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py b/tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py
index 878041d..b2ffb23 100644
--- a/tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py
+++ b/tests/providers/amazon/aws/log/test_cloudwatch_task_handler.py
@@ -92,7 +92,7 @@ class TestCloudwatchTaskHandler(unittest.TestCase):
mock_error.assert_called_once_with(
'Could not create an AwsLogsHook with connection id "%s". Please make '
- 'sure that airflow[aws] is installed and the Cloudwatch '
+ 'sure that apache-airflow[aws] is installed and the Cloudwatch '
'logs connection exists. Exception: "%s"',
'aws_default',
ANY,
diff --git a/tests/providers/amazon/aws/log/test_s3_task_handler.py b/tests/providers/amazon/aws/log/test_s3_task_handler.py
index e720081..067a248 100644
--- a/tests/providers/amazon/aws/log/test_s3_task_handler.py
+++ b/tests/providers/amazon/aws/log/test_s3_task_handler.py
@@ -93,7 +93,7 @@ class TestS3TaskHandler(unittest.TestCase):
mock_error.assert_called_once_with(
'Could not create an S3Hook with connection id "%s". Please make '
- 'sure that airflow[aws] is installed and the S3 connection exists. Exception : "%s"',
+ 'sure that apache-airflow[aws] is installed and the S3 connection exists. Exception : "%s"',
'aws_default',
ANY,
exc_info=True,
diff --git a/tests/providers/microsoft/azure/log/test_wasb_task_handler.py b/tests/providers/microsoft/azure/log/test_wasb_task_handler.py
index f3bb164..ea412cb 100644
--- a/tests/providers/microsoft/azure/log/test_wasb_task_handler.py
+++ b/tests/providers/microsoft/azure/log/test_wasb_task_handler.py
@@ -71,7 +71,7 @@ class TestWasbTaskHandler(unittest.TestCase):
mock_error.assert_called_once_with(
'Could not create an WasbHook with connection id "%s".'
- ' Please make sure that airflow[azure] is installed'
+ ' Please make sure that apache-airflow[azure] is installed'
' and the Wasb connection exists.',
'wasb_default',
exc_info=True,