File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 51
51
id : cache
52
52
with :
53
53
path : ${{ env.pythonLocation }}
54
- key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt') }}
54
+ key : ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt') }}-v01
55
55
- name : Install Dependencies
56
56
if : steps.cache.outputs.cache-hit != 'true'
57
57
run : pip install -r requirements-tests.txt
60
60
run : pip install --upgrade "pydantic>=1.10.0,<2.0.0"
61
61
- name : Install Pydantic v2
62
62
if : matrix.pydantic-version == 'pydantic-v2'
63
- run : pip install --upgrade "pydantic>=2.0.2,<3.0.0"
63
+ run : pip install --upgrade "pydantic>=2.0.2,<3.0.0" "typing-extensions==4.6.1"
64
64
- name : Lint
65
65
# Do not run on Python 3.7 as mypy behaves differently
66
66
if : matrix.python-version != '3.7' && matrix.pydantic-version == 'pydantic-v2'
Original file line number Diff line number Diff line change @@ -10,3 +10,6 @@ httpx ==0.24.1
10
10
# TODO: upgrade when deprecating Python 3.7
11
11
dirty-equals ==0.6.0
12
12
jinja2 ==3.1.3
13
+ # Pin typing-extensions until Python 3.8 is deprecated or the issue with dirty-equals
14
+ # is fixed, maybe fixed after dropping Python 3.7 and upgrading dirty-equals
15
+ typing-extensions ==4.6.1
You can’t perform that action at this time.
0 commit comments