From b1a3d11b5ae8bb10d411601d743e3aa5e65a2245 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 21 Jul 2023 07:05:15 -0400 Subject: [PATCH] Skip o3 qpy full path transpile test on windows In CI we're seeing a reliable failure on windows when scipy is calling LAPACK. This appears to be unrelated to the change in this PR branch and is isolated to specific windows environments. This commit adds a skip condition to skip that one test to workaround the failure in CI. The wider issue with scipy compatibility on windows is being tracked in issue #10345, when we have a conclusion to that and can reliably run this test we should remove this skip condition. --- test/python/compiler/test_transpiler.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/python/compiler/test_transpiler.py b/test/python/compiler/test_transpiler.py index b847799ecf41..92187ec74999 100644 --- a/test/python/compiler/test_transpiler.py +++ b/test/python/compiler/test_transpiler.py @@ -1761,6 +1761,11 @@ def test_qpy_roundtrip_backendv2(self, optimization_level): def test_qpy_roundtrip_control_flow(self, optimization_level): """Test that the output of a transpiled circuit with control flow can be round-tripped through QPY.""" + if optimization_level == 3 and sys.platform == "win32": + self.skipTest( + "This test case triggers a bug in the eigensolver routine on windows. " + "See #10345 for more details." + ) backend = FakeMelbourne() transpiled = transpile(