Skip to content

Commit

Permalink
🚨 ignore irrelevant warnings related to Qiskit 1.3
Browse files Browse the repository at this point in the history
Signed-off-by: burgholzer <burgholzer@me.com>
  • Loading branch information
burgholzer committed Dec 2, 2024
1 parent a3d353f commit a33c768
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,14 @@ minversion = "7.2"
addopts = ["-ra", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = [
"error",
'ignore:\s.*Pyarrow.*:DeprecationWarning:',
'ignore:.*datetime\.datetime\.utcfromtimestamp.*:DeprecationWarning:',
'ignore:.*no need for these schema-conformant objects.*:DeprecationWarning:', # Qiskit itself imports deprecated code (should be resolved in the 1.2.1 release)
"error",
'ignore:\s.*Pyarrow.*:DeprecationWarning:',
'ignore:.*datetime\.datetime\.utcfromtimestamp.*:DeprecationWarning:',
# Qiskit 1.2 deprecations
'ignore:.*no need for these schema-conformant objects.*:DeprecationWarning:',
# Qiskit 1.3 deprecations
'ignore:.*``qiskit.dagcircuit.dagcircuit.DAGCircuit.*`` is deprecated as of qiskit 1.3.0.*:DeprecationWarning:',
'ignore:.*``qiskit.circuit.library.standard_gates.x.*`` is pending deprecation as of qiskit 1.3.*:PendingDeprecationWarning:',
]
log_cli_level = "info"
testpaths = ["test/python"]
Expand Down

0 comments on commit a33c768

Please sign in to comment.