### Body

The  Click 8.1.4 released 06.06.2023 broke a number of mypy checks. Until the problem is fixed, we need to limit click to unbreak main.

Example failing job: https://github.com/apache/airflow/actions/runs/5480089808/jobs/9983219862

Example failures:

```
dev/breeze/src/airflow_breeze/utils/common_options.py:78: error: Need type
annotation for "option_verbose"  [var-annotated]
    option_verbose = click.option(
                     ^
dev/breeze/src/airflow_breeze/utils/common_options.py:89: error: Need type
annotation for "option_dry_run"  [var-annotated]
    option_dry_run = click.option(
                     ^
dev/breeze/src/airflow_breeze/utils/common_options.py:100: error: Need type
annotation for "option_answer"  [var-annotated]
    option_answer = click.option(
                    ^
dev/breeze/src/airflow_breeze/utils/common_options.py:109: error: Need type
annotation for "option_github_repository"  [var-annotated]
    option_github_repository = click.option(
                               ^
dev/breeze/src/airflow_breeze/utils/common_options.py:118: error: Need type
annotation for "option_python"  [var-annotated]
    option_python = click.option(
                    ^
dev/breeze/src/airflow_breeze/utils/common_options.py:127: error: Need type
annotation for "option_backend"  [var-annotated]
    option_backend = click.option(
                     ^
dev/breeze/src/airflow_breeze/utils/common_options.py:136: error: Need type
annotation for "option_integration"  [var-annotated]
    option_integration = click.option(
                         ^
dev/breeze/src/airflow_breeze/utils/common_options.py:142: error: Need type
annotation for "option_postgres_version"  [var-annotated]
    option_postgres_version = click.option(
                              ^
dev/breeze/src/airflow_breeze/utils/common_options.py:150: error: Need type
annotation for "option_mysql_version"  [var-annotated]
    option_mysql_version = click.option(
                           ^
```

### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
"""
    The dictionary order remains when keys() are retrieved.
    Sort both: extras and list of dependencies to make it easier to analyse problems
    external packages will be first, then if providers are added they are added at the end of the lists.
    """
    sorted_dependencies: dict[str, list[str]] = {}
    sorted_extra_ids = sorted(EXTRAS_DEPENDENCIES.keys())
    for extra_id in sorted_extra_ids:
        sorted_dependencies[extra_id] = sorted(EXTRAS_DEPENDENCIES[extra_id])
    return sorted_dependencies
EXTRAS_DEPENDENCIES = sort_extras_dependencies()
PREINSTALLED_PROVIDERS = [
    
    
    "celery",
    "common.sql",
    "ftp",
    "http",
    "imap",
    "sqlite",
]
def get_provider_package_name_from_package_id(package_id: str) -> str: