The amazon and google providers don't include necessary datafiles in them.

They were previously included in the sdist via MANIFEST.in (see https://github.com/apache/airflow/pull/12196) and in the bdist via include_package_data from the top level setup.py

Both of these are currently missing.

I've put this against 2.0.0-beta1, it _could_ be changed separately as providers are separate releases.
dev/provider_packages/prepare_provider_packages.py
)
                error_encountered = True
            if not class_name.endswith(class_suffix):
                print(
                    f"The class {class_full_name} is wrongly named. It is one of the {entity_type.value}"
                    f" so it should end with {class_suffix}"
                )
                error_encountered = True
            total_class_number += 1
            if error_encountered:
                badly_named_class_number += 1
    return total_class_number, badly_named_class_number
def get_package_pip_name(provider_package_id: str, backport_packages: bool):
    if backport_packages:
        return f"apache-airflow-backport-providers-{provider_package_id.replace('.', '-')}"
    else:
        return f"apache-airflow-providers-{provider_package_id.replace('.', '-')}"
def update_generated_files_for_package(
    provider_package_id: str,
    current_release_version: str,
    version_suffix: str,
    imported_classes: List[str],
    backport_packages: bool,
    update_release_notes: bool,
    update_setup: bool,
) -> Tuple[int, int]:
    """
    Updates release notes (BACKPORT_PROVIDER_README.md/README.md) for the package.
    Returns Tuple of total number of entities and badly named entities.
    :param provider_package_id: id of the package