Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 1 addition & 58 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,62 +341,6 @@
],
}

DEPRECATED_EXTRAS: dict[str, list[str]] = {
########################################################################################################
# The whole section can be removed in Airflow 3.0 as those old aliases are deprecated in 2.* series
########################################################################################################
"atlas": [
"apache-airflow[apache-atlas]",
],
"aws": [
"apache-airflow[amazon]",
],
"azure": [
"apache-airflow[microsoft-azure]",
],
"cassandra": [
"apache-airflow[apache-cassandra]",
],
# Empty alias extra just for backward compatibility with Airflow 1.10
"crypto": [],
"druid": [
"apache-airflow[apache-druid]",
],
"gcp": [
"apache-airflow[google]",
],
"gcp-api": [
"apache-airflow[google]",
],
"hdfs": [
"apache-airflow[apache-hdfs]",
],
"hive": [
"apache-airflow[apache-hive]",
],
"kubernetes": [
"apache-airflow[cncf-kubernetes]",
],
"mssql": [
"apache-airflow[microsoft-mssql]",
],
"pinot": [
"apache-airflow[apache-pinot]",
],
"s3": [
"apache-airflow[amazon]",
],
"spark": [
"apache-airflow[apache-spark]",
],
"webhdfs": [
"apache-airflow[apache-webhdfs]",
],
"winrm": [
"apache-airflow[microsoft-winrm]",
],
}

# When you remove a dependency from the list, you should also make sure to add the dependency to be removed
# in the scripts/docker/install_airflow_dependencies_from_branch_tip.sh script DEPENDENCIES_TO_REMOVE
# in order to make sure the dependency is not installed in the CI image build process from the main
Expand Down Expand Up @@ -509,7 +453,6 @@
(DOC_EXTRAS, "Doc extras"),
(DEVEL_EXTRAS, "Devel extras"),
(BUNDLE_EXTRAS, "Bundle extras"),
(DEPRECATED_EXTRAS, "Deprecated extras"),
]

ALL_GENERATED_BUNDLE_EXTRAS = ["all", "all-core", "devel-all", "devel-ci"]
Expand Down Expand Up @@ -933,7 +876,7 @@ def _process_all_built_in_extras(self, version: str) -> None:
for extra, deps in dict.items():
self.all_devel_extras.add(extra)
self._add_devel_ci_dependencies(deps, python_exclusion="")
if dict not in [DEPRECATED_EXTRAS, DEVEL_EXTRAS, DOC_EXTRAS]:
if dict not in [DEVEL_EXTRAS, DOC_EXTRAS]:
# do not add deprecated extras to "all" extras
self.all_non_devel_extras.add(extra)
if version == "standard":
Expand Down
20 changes: 20 additions & 0 deletions newsfragments/42647.significant.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Removed deprecated aliases support for providers.


* Removed deprecated ``atlas`` alias support. Please use ``apache-atlas`` instead.
* Removed deprecated ``aws`` alias support. Please use ``amazon`` instead.
* Removed deprecated ``azure`` alias support. Please use ``microsoft-azure`` instead.
* Removed deprecated ``cassandra`` alias support. Please use ``apache-cassandra`` instead.
* Removed deprecated ``crypto`` alias support.
* Removed deprecated ``druid`` alias support. Please use ``apache-druid`` instead.
* Removed deprecated ``gcp`` alias support. Please use ``google`` instead.
* Removed deprecated ``gcp-api`` alias support. Please use ``google`` instead.
* Removed deprecated ``hdfs`` alias support. Please use ``apache-hdfs`` instead.
* Removed deprecated ``hive`` alias support. Please use ``apache-hive`` instead.
* Removed deprecated ``kubernetes`` alias support. Please use ``cncf-kubernetes`` instead.
* Removed deprecated ``mssql`` alias support. Please use ``microsoft-mssql`` instead.
* Removed deprecated ``pinot`` alias support. Please use ``apache-pinot`` instead.
* Removed deprecated ``s3`` alias support. Please use ``amazon`` instead.
* Removed deprecated ``spark`` alias support. Please use ``apache-spark`` instead.
* Removed deprecated ``webhdfs`` alias support. Please use ``apache-webhdfs`` instead.
* Removed deprecated ``winrm`` alias support. Please use ``microsoft-winrm`` instead.