Skip to content

Commit c13c58b

Browse files
prudhommclaude
andcommitted
fix(ci): ignore pyparsing deprecation warnings from OMPython
OMPython uses deprecated pyparsing functions (infixNotation) that trigger PyparsingDeprecationWarning. Since this is a third-party issue, add a filter to ignore these warnings in pytest. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5163114 commit c13c58b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ xfail_strict = true
9797
filterwarnings = [
9898
"error",
9999
"ignore:(ast.Str|Attribute s|ast.NameConstant|ast.Num) is deprecated:DeprecationWarning:_pytest",
100+
# OMPython uses deprecated pyparsing functions (infixNotation -> infix_notation)
101+
"ignore:.*deprecated.*:pyparsing.warnings.PyparsingDeprecationWarning",
100102
]
101103

102104
[tool.ruff]

0 commit comments

Comments
 (0)