File tree Expand file tree Collapse file tree 2 files changed +20
-9
lines changed
Expand file tree Collapse file tree 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,13 @@ updates:
3636 - " async-solipsism"
3737 - " frequenz-api-common"
3838 - " frequenz-repo-config*"
39+ - " grpcio"
40+ - " grpcio-tools"
3941 - " markdown-callouts"
4042 - " mkdocs-gen-files"
4143 - " mkdocs-literate-nav"
4244 - " mkdocstrings*"
45+ - " protobuf"
4346 - " pydoclint"
4447 - " pytest-asyncio"
4548 # We group repo-config updates as it uses optional dependencies that are
@@ -51,6 +54,14 @@ updates:
5154 mkdocstrings :
5255 patterns :
5356 - " mkdocstrings*"
57+ # We group grpcio and protobuf updates together, as they need special
58+ # handling on the pyproject.toml file because of the protobuf/grpcio
59+ # build/runtime cross-version guarantees
60+ grpc :
61+ patterns :
62+ - " grpcio"
63+ - " grpcio-tools"
64+ - " protobuf"
5465
5566 - package-ecosystem : " github-actions"
5667 directory : " /"
@@ -86,11 +97,3 @@ updates:
8697 labels :
8798 - " part:tooling"
8899 - " type:tech-debt"
89- groups :
90- compatible :
91- update-types :
92- - " minor"
93- - " patch"
94- artifacts :
95- patterns :
96- - " actions/*-artifact"
Original file line number Diff line number Diff line change @@ -166,7 +166,15 @@ disable = [
166166]
167167
168168[tool .pytest .ini_options ]
169- addopts = " -W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
169+ addopts = " -vv"
170+ filterwarnings = [
171+ " error" ,
172+ " once::DeprecationWarning" ,
173+ " once::PendingDeprecationWarning" ,
174+ # We use a raw string (single quote) to avoid the need to escape special
175+ # chars as this is a regex
176+ ' ignore:Protobuf gencode version .*exactly one major version older.*:UserWarning' ,
177+ ]
170178testpaths = [" pytests" ]
171179
172180[tool .mypy ]
You can’t perform that action at this time.
0 commit comments