Source: qutip Version: 5.2.1-4 Severity: serious Tags: forky sid User: [email protected] Usertags: python3.14
Hi Maintainer The autopkgtests of this package fail with Python 3.14 [1]. I've copied what I hope is the relevant part of the log below. Regards Graham [1] https://ci.debian.net/packages/q/qutip/testing/amd64/ 843s =================================== FAILURES =================================== 843s ________________ test_open_integrator[simple-Taylor15 implicit] ________________ 843s 843s method = 'taylor1.5_imp', order = 1.5 843s H = QobjEvo: dims = [[5], [5]], shape = (5, 5), type = oper, superrep = None, isconstant = True, num_elements = 1 843s c_ops = [] 843s sc_ops = [QobjEvo: dims = [[5], [5]], shape = (5, 5), type = oper, superrep = None, isconstant = True, num_elements = 1] 843s 843s @pytest.mark.parametrize(["method", "order"], [ 843s pytest.param("euler", 0.5, id="Euler"), 843s pytest.param("milstein", 1.0, id="Milstein"), 843s pytest.param("milstein_imp", 1.0, id="Milstein implicit"), 843s pytest.param("platen", 1.0, id="Platen"), 843s pytest.param("pred_corr", 1.0, id="PredCorr"), 843s pytest.param("rouchon", 1.0, id="rouchon"), 843s pytest.param("explicit1.5", 1.5, id="Explicit15"), 843s pytest.param("taylor1.5_imp", 1.5, id="Taylor15 implicit"), 843s ]) 843s @pytest.mark.parametrize(['H', 'c_ops', 'sc_ops'], [ 843s pytest.param("qeye", [], ["destroy"], id='simple'), 843s pytest.param("qeye", ["destroy"], ["destroy"], id='simple + collapse'), 843s pytest.param("herm", ["destroy", "destroy2"], [], id='2 c_ops'), 843s pytest.param("herm", [], ["destroy", "destroy2"], id='2 sc_ops'), 843s pytest.param("herm", ["create", "destroy"], ["destroy", "destroy2"], 843s id='many terms'), 843s pytest.param("herm", [], ["random"], id='random'), 843s pytest.param("herm", ["random"], ["random"], id='complex'), 843s pytest.param("herm td", ["random"], ["destroy"], id='H td'), 843s pytest.param("herm", ["random"], ["destroy td"], id='sc_ops td'), 843s ]) 843s def test_open_integrator(method, order, H, c_ops, sc_ops): 843s N = 5 843s H = _make_oper(H, N) 843s c_ops = [_make_oper(op, N) for op in c_ops] 843s sc_ops = [_make_oper(op, N) for op in sc_ops] 843s 843s rhs = _StochasticRHS(StochasticOpenSystem, H, sc_ops, c_ops, False) 843s ref_sode = SMESolver.avail_integrators()["taylor1.5"](rhs, {"dt": 0.01}) 843s sode = SMESolver.avail_integrators()[method](rhs, {"dt": 0.01}) 843s state = operator_to_vector(fock_dm(5, 3, dtype="Dense")).data 843s 843s error_order = get_error_order_integrator(sode, ref_sode, state) 843s > assert (order + 0.35) < error_order 843s E assert (1.5 + 0.35) < np.float64(1.8064917223554944) 843s 843s tests/solver/test_sode_method.py:154: AssertionError

