File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 15
15
- name : Setup python3
16
16
uses : actions/setup-python@v5
17
17
with :
18
- python-version : ' 3.8 .x'
18
+ python-version : ' 3.13 .x'
19
19
20
20
- name : Install build dependencies
21
21
run : python -m pip install -r python_build_requirements.txt
27
27
- name : Install poetry for validate_examples.py
28
28
uses : abatilo/actions-poetry@v3
29
29
with :
30
- poetry-version : 1.2.2
30
+ poetry-version : latest
31
31
32
32
- name : Validate examples (except aio)
33
33
run : |
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def _validate_examples(
63
63
_system ("poetry add grpcio" )
64
64
_system ("poetry add --dev grpcio-tools mypy mypy-protobuf types-protobuf grpc-stubs" )
65
65
_system ("poetry add --dev black==23.3.0" )
66
- _system ("poetry install" )
66
+ _system ("poetry install --no-root " )
67
67
68
68
_stage_client_files (artifact_location , staging_dir )
69
69
examples_dir = staging_dir / "examples"
@@ -90,7 +90,7 @@ def _validate_examples(
90
90
91
91
print (f" -> Running mypy" )
92
92
_system (
93
- f"poetry run mypy { dir } --check-untyped-defs --ignore-missing-imports{ exclude_option } "
93
+ f"poetry run mypy { dir } --check-untyped-defs --disable-error-code=operator -- ignore-missing-imports{ exclude_option } "
94
94
)
95
95
96
96
if ip_address :
You can’t perform that action at this time.
0 commit comments