Skip to content

Commit 5422ceb

Browse files
committed
Schedule plexus and apache.sqoop providers for removal (#36208)
The providers have been agreed to be removed in the LAZY CONSENSUS threads: * https://lists.apache.org/thread/6so1qh8kf088spd2y4nl0o5tpbyn0x3b * https://lists.apache.org/thread/wnov3n2m2v0blnxl3q413mj8vphdrz4b (cherry picked from commit 97e8f58)
1 parent 108b305 commit 5422ceb

17 files changed

+62
-78
lines changed

.github/ISSUE_TEMPLATE/airflow_providers_bug_report.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ body:
4040
- apache-pig
4141
- apache-pinot
4242
- apache-spark
43-
- apache-sqoop
4443
- apprise
4544
- arangodb
4645
- asana
@@ -88,7 +87,6 @@ body:
8887
- papermill
8988
- pgvector
9089
- pinecone
91-
- plexus
9290
- postgres
9391
- presto
9492
- redis

CONTRIBUTING.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -670,18 +670,18 @@ This is the full list of those extras:
670670
.. START EXTRAS HERE
671671
aiobotocore, airbyte, alibaba, all, all_dbs, amazon, apache.atlas, apache.beam, apache.cassandra,
672672
apache.drill, apache.druid, apache.flink, apache.hdfs, apache.hive, apache.impala, apache.kafka,
673-
apache.kylin, apache.livy, apache.pig, apache.pinot, apache.spark, apache.sqoop, apache.webhdfs,
674-
apprise, arangodb, asana, async, atlas, atlassian.jira, aws, azure, cassandra, celery, cgroups,
675-
cloudant, cncf.kubernetes, cohere, common.io, common.sql, crypto, databricks, datadog, dbt.cloud,
673+
apache.kylin, apache.livy, apache.pig, apache.pinot, apache.spark, apache.webhdfs, apprise,
674+
arangodb, asana, async, atlas, atlassian.jira, aws, azure, cassandra, celery, cgroups, cloudant,
675+
cncf.kubernetes, cohere, common.io, common.sql, crypto, databricks, datadog, dbt.cloud,
676676
deprecated_api, devel, devel_all, devel_ci, devel_hadoop, dingding, discord, doc, doc_gen, docker,
677677
druid, elasticsearch, exasol, facebook, ftp, gcp, gcp_api, github, github_enterprise, google,
678678
google_auth, grpc, hashicorp, hdfs, hive, http, imap, influxdb, jdbc, jenkins, kerberos, kubernetes,
679679
ldap, leveldb, microsoft.azure, microsoft.mssql, microsoft.psrp, microsoft.winrm, mongo, mssql,
680680
mysql, neo4j, odbc, openai, openfaas, openlineage, opensearch, opsgenie, oracle, otel, pagerduty,
681-
pandas, papermill, password, pgvector, pinecone, pinot, plexus, postgres, presto, rabbitmq, redis,
682-
s3, s3fs, salesforce, samba, saml, segment, sendgrid, sentry, sftp, singularity, slack, smtp,
683-
snowflake, spark, sqlite, ssh, statsd, tableau, tabular, telegram, trino, vertica, virtualenv,
684-
weaviate, webhdfs, winrm, yandex, zendesk
681+
pandas, papermill, password, pgvector, pinecone, pinot, postgres, presto, rabbitmq, redis, s3, s3fs,
682+
salesforce, samba, saml, segment, sendgrid, sentry, sftp, singularity, slack, smtp, snowflake,
683+
spark, sqlite, ssh, statsd, tableau, tabular, telegram, trino, vertica, virtualenv, weaviate,
684+
webhdfs, winrm, yandex, zendesk
685685
.. END EXTRAS HERE
686686
687687
Provider packages

INSTALL

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,18 +96,18 @@ The list of available extras:
9696
# START EXTRAS HERE
9797
aiobotocore, airbyte, alibaba, all, all_dbs, amazon, apache.atlas, apache.beam, apache.cassandra,
9898
apache.drill, apache.druid, apache.flink, apache.hdfs, apache.hive, apache.impala, apache.kafka,
99-
apache.kylin, apache.livy, apache.pig, apache.pinot, apache.spark, apache.sqoop, apache.webhdfs,
100-
apprise, arangodb, asana, async, atlas, atlassian.jira, aws, azure, cassandra, celery, cgroups,
101-
cloudant, cncf.kubernetes, cohere, common.io, common.sql, crypto, databricks, datadog, dbt.cloud,
99+
apache.kylin, apache.livy, apache.pig, apache.pinot, apache.spark, apache.webhdfs, apprise,
100+
arangodb, asana, async, atlas, atlassian.jira, aws, azure, cassandra, celery, cgroups, cloudant,
101+
cncf.kubernetes, cohere, common.io, common.sql, crypto, databricks, datadog, dbt.cloud,
102102
deprecated_api, devel, devel_all, devel_ci, devel_hadoop, dingding, discord, doc, doc_gen, docker,
103103
druid, elasticsearch, exasol, facebook, ftp, gcp, gcp_api, github, github_enterprise, google,
104104
google_auth, grpc, hashicorp, hdfs, hive, http, imap, influxdb, jdbc, jenkins, kerberos, kubernetes,
105105
ldap, leveldb, microsoft.azure, microsoft.mssql, microsoft.psrp, microsoft.winrm, mongo, mssql,
106106
mysql, neo4j, odbc, openai, openfaas, openlineage, opensearch, opsgenie, oracle, otel, pagerduty,
107-
pandas, papermill, password, pgvector, pinecone, pinot, plexus, postgres, presto, rabbitmq, redis,
108-
s3, s3fs, salesforce, samba, saml, segment, sendgrid, sentry, sftp, singularity, slack, smtp,
109-
snowflake, spark, sqlite, ssh, statsd, tableau, tabular, telegram, trino, vertica, virtualenv,
110-
weaviate, webhdfs, winrm, yandex, zendesk
107+
pandas, papermill, password, pgvector, pinecone, pinot, postgres, presto, rabbitmq, redis, s3, s3fs,
108+
salesforce, samba, saml, segment, sendgrid, sentry, sftp, singularity, slack, smtp, snowflake,
109+
spark, sqlite, ssh, statsd, tableau, tabular, telegram, trino, vertica, virtualenv, weaviate,
110+
webhdfs, winrm, yandex, zendesk
111111
# END EXTRAS HERE
112112

113113
# For installing Airflow in development environments - see CONTRIBUTING.rst

airflow/providers/MANAGING_PROVIDERS_LIFECYCLE.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -514,14 +514,15 @@ providers (and then remove all the code and documentation related to the provide
514514

515515
The "removed: true" flag will cause the provider to be available for the following commands (note that such
516516
provider has to be explicitly added as selected to the package - such provider will not be included in
517-
the available list of providers):
517+
the available list of providers or when documentation is built unless --include-removed-providers
518+
flag is used):
518519

519520
* ``breeze build-docs``
520521
* ``breeze release-management prepare-provider-documentation``
521522
* ``breeze release-management prepare-provider-packages``
522523
* ``breeze release-management publish-docs``
523524

524-
For all those commands, release manager needs to specify such to-be-removed provider explicitly as extra
525-
command during the release process. Except the changelog that needs to be maintained manually, all other
526-
documentation (main page of the provider documentation, PyPI README), will be automatically updated
527-
to include removal notice.
525+
For all those commands, release manager needs to specify ``--include-removed-providers`` when all providers
526+
are built or must add the provider id explicitly during the release process.
527+
Except the changelog that needs to be maintained manually, all other documentation (main page of the provider
528+
documentation, PyPI README), will be automatically updated to include removal notice.

airflow/providers/apache/sqoop/provider.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ name: Apache Sqoop
2121
description: |
2222
`Apache Sqoop <https://sqoop.apache.org/>`__
2323
24-
suspended: false
25-
source-date-epoch: 1700827444
24+
removed: true
25+
suspended: true
26+
source-date-epoch: 1701983361
2627
versions:
28+
- 4.2.0
2729
- 4.1.0
2830
- 4.0.0
2931
- 3.2.1

airflow/providers/plexus/provider.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ name: Plexus
2121
description: |
2222
`Plexus <https://plexus.corescientific.com/>`__
2323
24-
suspended: false
25-
source-date-epoch: 1700827488
24+
removed: true
25+
suspended: true
26+
source-date-epoch: 1701983408
2627
versions:
28+
- 3.4.0
2729
- 3.3.0
2830
- 3.2.2
2931
- 3.2.1

dev/breeze/tests/test_packages.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ def test_get_provider_requirements():
109109

110110
def test_get_removed_providers():
111111
# Modify it every time we schedule provider for removal or remove it
112-
assert ["daskexecutor"] == get_removed_provider_ids()
112+
assert ["apache.sqoop", "daskexecutor", "plexus"] == get_removed_provider_ids()
113113

114114

115115
def test_get_suspended_provider_ids():
116116
# Modify it every time we suspend/resume provider
117-
assert ["daskexecutor"] == get_suspended_provider_ids()
117+
assert ["apache.sqoop", "daskexecutor", "plexus"] == get_suspended_provider_ids()
118118

119119

120120
def test_get_suspended_provider_folders():
121121
# Modify it every time we suspend/resume provider
122-
assert ["daskexecutor"] == get_suspended_provider_folders()
122+
assert ["apache/sqoop", "daskexecutor", "plexus"] == get_suspended_provider_folders()
123123

124124

125125
@pytest.mark.parametrize(

docs/apache-airflow/extra-packages-ref.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ custom bash/python providers).
144144
+---------------------+-----------------------------------------------------+------------------------------------------------+
145145
| apache.spark | ``pip install 'apache-airflow[apache.spark]'`` | All Spark related operators & hooks |
146146
+---------------------+-----------------------------------------------------+------------------------------------------------+
147-
| apache.sqoop | ``pip install 'apache-airflow[apache.sqoop]'`` | All Sqoop related operators & hooks |
148-
+---------------------+-----------------------------------------------------+------------------------------------------------+
149147
| apache.webhdfs | ``pip install 'apache-airflow[apache.webhdfs]'`` | HDFS hooks and operators |
150148
+---------------------+-----------------------------------------------------+------------------------------------------------+
151149

@@ -204,8 +202,6 @@ These are extras that add dependencies needed for integration with external serv
204202
+---------------------+-----------------------------------------------------+-----------------------------------------------------+
205203
| pinecone | ``pip install 'apache-airflow[pinecone]'`` | Pinecone Operators and Hooks |
206204
+---------------------+-----------------------------------------------------+-----------------------------------------------------+
207-
| plexus | ``pip install 'apache-airflow[plexus]'`` | Plexus service of CoreScientific.com AI platform |
208-
+---------------------+-----------------------------------------------------+-----------------------------------------------------+
209205
| salesforce | ``pip install 'apache-airflow[salesforce]'`` | Salesforce hook |
210206
+---------------------+-----------------------------------------------------+-----------------------------------------------------+
211207
| sendgrid | ``pip install 'apache-airflow[sendgrid]'`` | Send email using sendgrid |

generated/provider_dependencies.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,6 @@
198198
],
199199
"excluded-python-versions": []
200200
},
201-
"apache.sqoop": {
202-
"deps": [
203-
"apache-airflow>=2.6.0"
204-
],
205-
"cross-providers-deps": [],
206-
"excluded-python-versions": []
207-
},
208201
"apprise": {
209202
"deps": [
210203
"apache-airflow>=2.6.0",
@@ -751,14 +744,6 @@
751744
"cross-providers-deps": [],
752745
"excluded-python-versions": []
753746
},
754-
"plexus": {
755-
"deps": [
756-
"apache-airflow>=2.6.0",
757-
"arrow>=0.16.0"
758-
],
759-
"cross-providers-deps": [],
760-
"excluded-python-versions": []
761-
},
762747
"postgres": {
763748
"deps": [
764749
"apache-airflow-providers-common-sql>=1.3.1",

0 commit comments

Comments
 (0)