|
341 | 341 | ], |
342 | 342 | } |
343 | 343 |
|
344 | | -DEPRECATED_EXTRAS: dict[str, list[str]] = { |
345 | | - ######################################################################################################## |
346 | | - # The whole section can be removed in Airflow 3.0 as those old aliases are deprecated in 2.* series |
347 | | - ######################################################################################################## |
348 | | - "atlas": [ |
349 | | - "apache-airflow[apache-atlas]", |
350 | | - ], |
351 | | - "aws": [ |
352 | | - "apache-airflow[amazon]", |
353 | | - ], |
354 | | - "azure": [ |
355 | | - "apache-airflow[microsoft-azure]", |
356 | | - ], |
357 | | - "cassandra": [ |
358 | | - "apache-airflow[apache-cassandra]", |
359 | | - ], |
360 | | - # Empty alias extra just for backward compatibility with Airflow 1.10 |
361 | | - "crypto": [], |
362 | | - "druid": [ |
363 | | - "apache-airflow[apache-druid]", |
364 | | - ], |
365 | | - "gcp": [ |
366 | | - "apache-airflow[google]", |
367 | | - ], |
368 | | - "gcp-api": [ |
369 | | - "apache-airflow[google]", |
370 | | - ], |
371 | | - "hdfs": [ |
372 | | - "apache-airflow[apache-hdfs]", |
373 | | - ], |
374 | | - "hive": [ |
375 | | - "apache-airflow[apache-hive]", |
376 | | - ], |
377 | | - "kubernetes": [ |
378 | | - "apache-airflow[cncf-kubernetes]", |
379 | | - ], |
380 | | - "mssql": [ |
381 | | - "apache-airflow[microsoft-mssql]", |
382 | | - ], |
383 | | - "pinot": [ |
384 | | - "apache-airflow[apache-pinot]", |
385 | | - ], |
386 | | - "s3": [ |
387 | | - "apache-airflow[amazon]", |
388 | | - ], |
389 | | - "spark": [ |
390 | | - "apache-airflow[apache-spark]", |
391 | | - ], |
392 | | - "webhdfs": [ |
393 | | - "apache-airflow[apache-webhdfs]", |
394 | | - ], |
395 | | - "winrm": [ |
396 | | - "apache-airflow[microsoft-winrm]", |
397 | | - ], |
398 | | -} |
399 | | - |
400 | 344 | # When you remove a dependency from the list, you should also make sure to add the dependency to be removed |
401 | 345 | # in the scripts/docker/install_airflow_dependencies_from_branch_tip.sh script DEPENDENCIES_TO_REMOVE |
402 | 346 | # in order to make sure the dependency is not installed in the CI image build process from the main |
|
509 | 453 | (DOC_EXTRAS, "Doc extras"), |
510 | 454 | (DEVEL_EXTRAS, "Devel extras"), |
511 | 455 | (BUNDLE_EXTRAS, "Bundle extras"), |
512 | | - (DEPRECATED_EXTRAS, "Deprecated extras"), |
513 | 456 | ] |
514 | 457 |
|
515 | 458 | ALL_GENERATED_BUNDLE_EXTRAS = ["all", "all-core", "devel-all", "devel-ci"] |
@@ -933,7 +876,7 @@ def _process_all_built_in_extras(self, version: str) -> None: |
933 | 876 | for extra, deps in dict.items(): |
934 | 877 | self.all_devel_extras.add(extra) |
935 | 878 | self._add_devel_ci_dependencies(deps, python_exclusion="") |
936 | | - if dict not in [DEPRECATED_EXTRAS, DEVEL_EXTRAS, DOC_EXTRAS]: |
| 879 | + if dict not in [DEVEL_EXTRAS, DOC_EXTRAS]: |
937 | 880 | # do not add deprecated extras to "all" extras |
938 | 881 | self.all_non_devel_extras.add(extra) |
939 | 882 | if version == "standard": |
|
0 commit comments