Skip to content

Commit

Permalink
Remove click upper bound (#32634)
Browse files Browse the repository at this point in the history
* Remove click upper bound

* Fix typo
  • Loading branch information
pierrejeambrun authored Jul 20, 2023
1 parent 7092cfd commit 7123dc1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def git_version() -> str:

try:
repo = git.Repo(str(AIRFLOW_SOURCES_ROOT / ".git"))
except (git.NoSuchPathError):
except git.NoSuchPathError:
logger.warning(".git directory not found: Cannot compute the git version")
return ""
except git.InvalidGitRepositoryError:
Expand Down Expand Up @@ -266,9 +266,9 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT / "airflow" / "git_ve
doc = [
"astroid>=2.12.3",
"checksumdir",
# Click 8.1.4 breaks our mypy checks. The upper limit can be lifted when the
# https://github.com/apache/airflow/issues/32412 issue is resolved
"click>=8.0,<8.1.4",
# click 8.1.4 and 8.1.5 generate mypy errors due to typing issue in the upstream package:
# https://github.com/pallets/click/issues/2558
"click>=8.0,!=8.1.4,!=8.1.5",
# Docutils 0.17.0 converts generated <div class="section"> into <section> and breaks our doc formatting
# By adding a lot of whitespace separation. This limit can be lifted when we update our doc to handle
# <section> tags for sections
Expand Down Expand Up @@ -515,12 +515,12 @@ def filter_out_excluded_extras() -> Iterable[tuple[str, list[str]]]:


def add_extras_for_all_providers() -> None:
for (provider_name, provider_dict) in PROVIDER_DEPENDENCIES.items():
for provider_name, provider_dict in PROVIDER_DEPENDENCIES.items():
EXTRAS_DEPENDENCIES[provider_name] = provider_dict[DEPS]


def add_additional_extras() -> None:
for (extra_name, extra_dependencies) in ADDITIONAL_EXTRAS_DEPENDENCIES.items():
for extra_name, extra_dependencies in ADDITIONAL_EXTRAS_DEPENDENCIES.items():
EXTRAS_DEPENDENCIES[extra_name] = extra_dependencies


Expand Down

0 comments on commit 7123dc1

Please sign in to comment.