Skip to content

Commit

Permalink
Deprecate tableau extra (apache#13595)
Browse files Browse the repository at this point in the history
There was no separate provider for `tableau` and it's dependencies
have been already incorporated in ``salesforce`` one therefore
this change deprecates it in favour of ``salesforce``.
  • Loading branch information
potiuk authored Jan 10, 2021
1 parent 46edea3 commit ef0f5cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 4 additions & 2 deletions docs/apache-airflow/extra-packages-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ can be reported by some tools (even if it is harmless).
+---------------------+-----------------------------------------------------+------------------------------------------------------------------------------------+-----------+
| statsd | ``pip install 'apache-airflow[statsd]'`` | Needed by StatsD metrics | |
+---------------------+-----------------------------------------------------+------------------------------------------------------------------------------------+-----------+
| tableau | ``pip install 'apache-airflow[tableau]'`` | Tableau visualization integration | |
+---------------------+-----------------------------------------------------+------------------------------------------------------------------------------------+-----------+
| virtualenv | ``pip install 'apache-airflow[virtualenv]'`` | Running python tasks in local virtualenv | |
+---------------------+-----------------------------------------------------+------------------------------------------------------------------------------------+-----------+

Expand Down Expand Up @@ -250,6 +248,8 @@ all replaced by new extras, which have naming consistent with the names of provi
The ``crypto`` extra is not needed any more, because all crypto dependencies are part of airflow package,
so there is no replacement for ``crypto`` extra.

The ``tableau`` extra dependencies have been included in the ``salesforce`` extra.

+---------------------+-----------------------------+
| Deprecated extra | Extra to be used instead |
+=====================+=============================+
Expand Down Expand Up @@ -285,6 +285,8 @@ so there is no replacement for ``crypto`` extra.
+---------------------+-----------------------------+
| spark | apache.spark |
+---------------------+-----------------------------+
| tableau | salesforce |
+---------------------+-----------------------------+
| webhdfs | apache.webhdfs |
+---------------------+-----------------------------+
| winrm | microsoft.winrm |
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,6 @@ def get_sphinx_theme_version() -> str:
statsd = [
'statsd>=3.3.0, <4.0',
]
tableau = [
'tableauserverclient~=0.12',
]
telegram = [
'python-telegram-bot==13.0',
]
Expand Down Expand Up @@ -626,7 +623,6 @@ def get_sphinx_theme_version() -> str:
'rabbitmq': rabbitmq,
'sentry': sentry,
'statsd': statsd,
'tableau': tableau,
'virtualenv': virtualenv,
}

Expand Down Expand Up @@ -666,6 +662,7 @@ def add_extras_for_all_providers() -> None:
'qds': 'qubole',
's3': 'amazon',
'spark': 'apache.spark',
'tableau': 'salesforce',
'webhdfs': 'apache.webhdfs',
'winrm': 'microsoft.winrm',
}
Expand Down

0 comments on commit ef0f5cd

Please sign in to comment.