Skip to content

Commit

Permalink
Upgrade click to 8.1.6 (#15272)
Browse files Browse the repository at this point in the history
* Revert "Exclude click 8.1.4 to solve mypy issues (#15201)"

This reverts commit 411e4e4.

* Upgrade click to 8.1.5

* Apply suggestions from code review

Co-authored-by: Florent Clarret <[email protected]>

---------

Co-authored-by: Florent Clarret <[email protected]>
  • Loading branch information
ofek and FlorentClarret authored Jul 19, 2023
1 parent f5ceb4a commit b13cdaa
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
4 changes: 0 additions & 4 deletions datadog_checks_dev/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ mypy-args = [
"datadog_checks/dev/tooling/commands/release/trello/testable.py",
"datadog_checks/dev/tooling/commands/release/trello/status.py",
]
# TODO remove once https://github.com/pallets/click/issues/2558 is solved
mypy-deps = [
"click~=8.1,!=8.1.4",
]

[envs.default]
e2e-env = false
Expand Down
3 changes: 1 addition & 2 deletions datadog_checks_dev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ cli = [
"atomicwrites",
"beautifulsoup4>=4.9.3",
"build>=0.7.0",
# TODO remove when https://github.com/pallets/click/issues/2558 is solved and unpin the version in the hatch files for ddev and datadog_checks_dev
"click~=8.1,!=8.1.4",
"click~=8.1.6",
"codespell",
"colorama",
"datamodel-code-generator~=0.21.1",
Expand Down
4 changes: 0 additions & 4 deletions ddev/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ check-types = true
mypy-args = [
"src/ddev",
]
# TODO remove once https://github.com/pallets/click/issues/2558 is solved
mypy-deps = [
"click~=8.1,!=8.1.4",
]

[envs.default]
python = "3.9"
Expand Down
1 change: 1 addition & 0 deletions ddev/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
]
dependencies = [
"click~=8.1.6",
"datadog-checks-dev[cli]~=22.0",
"hatch>=1.6.3",
"httpx",
Expand Down

0 comments on commit b13cdaa

Please sign in to comment.