Fix CI for Click typing issue (#3770)
https://github.com/pallets/click/issues/2558
This commit is contained in:
parent
b4dca26c7d
commit
4130c65578
4
.github/workflows/diff_shades.yml
vendored
4
.github/workflows/diff_shades.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
|
||||
- name: Install diff-shades and support dependencies
|
||||
run: |
|
||||
python -m pip install click packaging urllib3
|
||||
python -m pip install 'click==8.1.3' packaging urllib3
|
||||
python -m pip install https://github.com/ichard26/diff-shades/archive/stable.zip
|
||||
|
||||
- name: Calculate run configuration & metadata
|
||||
@ -64,7 +64,7 @@ jobs:
|
||||
- name: Install diff-shades and support dependencies
|
||||
run: |
|
||||
python -m pip install https://github.com/ichard26/diff-shades/archive/stable.zip
|
||||
python -m pip install click packaging urllib3
|
||||
python -m pip install 'click==8.1.3' packaging urllib3
|
||||
# After checking out old revisions, this might not exist so we'll use a copy.
|
||||
cat scripts/diff_shades_gha_helper.py > helper.py
|
||||
git config user.name "diff-shades-gha"
|
||||
|
@ -47,7 +47,7 @@ repos:
|
||||
- types-PyYAML
|
||||
- tomli >= 0.2.6, < 2.0.0
|
||||
- types-typed-ast >= 1.4.1
|
||||
- click >= 8.1.0
|
||||
- click >= 8.1.0, != 8.1.4
|
||||
- packaging >= 22.0
|
||||
- platformdirs >= 2.1.0
|
||||
- pytest
|
||||
|
@ -120,6 +120,7 @@ enable-by-default = false
|
||||
dependencies = [
|
||||
"hatch-mypyc>=0.16.0",
|
||||
"mypy==1.3",
|
||||
"click==8.1.3", # avoid https://github.com/pallets/click/issues/2558
|
||||
]
|
||||
require-runtime-dependencies = true
|
||||
exclude = [
|
||||
|
Loading…
Reference in New Issue
Block a user