Skip to content

Commit ad0cb71

Browse files
Ignore harmless ONNX Runtime warnings (#267)
These warnings break the CI on windows11 python3.12, because we configure our pytest to treat all warnings as errors. There is a chance that the ONNX runtime support limitation warnings are not actually harmful to the user and just indicate a lack of official testing and support from Microsoft: microsoft/onnxruntime#20001 (comment)
1 parent 6d3b540 commit ad0cb71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
9494
xfail_strict = true
9595
filterwarnings = [
9696
"error",
97+
"ignore:Unsupported Windows version.*ONNX Runtime supports Windows 10 and above, only.:UserWarning",
9798
]
9899
log_cli_level = "INFO"
99100
testpaths = [

0 commit comments

Comments
 (0)