### 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.
"""
    Return a version to identify the state of the underlying git repo. The version will
    indicate whether the head of the current git-backed working directory is tied to a
    release tag or not : it will indicate the former with a 'release:{version}' prefix
    and the latter with a '.dev0' suffix. Following the prefix will be a sha of the current
    branch head. Finally, a "dirty" suffix is appended to indicate that uncommitted
    changes are present.
    :return: Found Airflow version in Git repo
    """
    try:
        import git
        try:
            repo = git.Repo(str(AIRFLOW_SOURCES_ROOT / ".git"))
        except (git.NoSuchPathError):
            logger.warning(".git directory not found: Cannot compute the git version")
            return ""
        except git.InvalidGitRepositoryError:
            logger.warning("Invalid .git directory not found: Cannot compute the git version")
            return ""
    except ImportError:
        logger.warning("gitpython not found: Cannot compute the git version.")
        return ""
    if repo:
        sha = repo.head.commit.hexsha
        if repo.is_dirty():
            return f".dev0+{sha}.dirty"
        
        return f".release:{sha}"
    return "no_git_version"
def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_version")) -> None: